Beginners - June 2015 (Page 14)

Beginner Code help for calculator!
 
Hi all, Just a day since I started to learn C++ myself. I have no previous coding experience and thus, and struggling alot. I have tried to create a simple ca...
[4 replies] Last: Thank you so much MiiNiPaa! (by kd01152)
C2601: local function definitions are illegal
 
Hello, Begginner coder here and ive been trying to figure out this problem to no avail. When compiling I get a C2601: 'Main' : local function definitions are il...
[2 replies] Last: I believe that was it. Thank you very much been trying to figure this ... (by Zephrym)
Greetings
 
Hello guys! I am bagus from indonesian. I want to improve my programming skill , i just started to learn about c++ 2 days ago. Maybe u guys all can share a simp...
[1 reply] : I recommend finishing the course(probably with small projects) before ... (by Aceix)
Some beginner projects
 
Hello guys, I am new to c++ and i have just started learning. I was wondeing if there are any simple beginner c++ projects to do. I don't want anything that ...
[1 reply] : Hello , my name is bagus i'm from indonesian. Like you, i want to impr... (by Bagusdharma)
SFML Camera
 
So, I'm trying to make a camera move with the character in the game, and it's in a void that updates with a clock variable elapsedTime. In the same function, I...
[no replies]
What am I doing wrong?
 
Take a look at EXERCISE 12 in this link: https://en.wikibooks.org/wiki/C%2B%2B_Programming/Exercises/Iterations Write a program that asks the user to type an i...
[9 replies] Last: Whats up with line 14 in the solution below? Where did he get that ex... (by Arslan7041)
by dibs
My sorting algorithm works in reverse(Z-A) not A-Z
 
How do i make it sort from A-Z? The function is at the very bottom. #include <cstdlib> #include <iostream> #include <iomanip> #include <fstream> #include <st...
[3 replies] Last: The read() function is truncating strings, and not handling input fa... (by JLBorges)
Finding the highest number
 
Hello everyone, I am having an issue with compiling my program. The function that won't compile is supposed to find the highest expense. The compile error code ...
[1 reply] : Sorry guys for not taking more time to look at it. It was a very minor... (by jpanther)
Assigning Values Code Problem
 
I don't know why I'm getting errors for this code when I copied it from my textbook. Can you explain what's wrong with this code when you try to run it? What ...
[no replies]
Converting Decimal to Binary only returning first two digits
 
I want to use a while loop to convert decimal to binary, I have it almost I'm just not sure how to get the rest. Right now it is printing the last two digits o...
[7 replies] Last: Thanks so much! I'm sure it can be, but I just don't have time to fig... (by Elzcode)
Why does this work?!
 
So I made a mistake while typing my code: #include <iostream> using namespace std; template <typename T> //or "class T" void display(T x, T y, int n=1); te...
[3 replies] Last: I found the error. Don't worry, you guys didn't have a shot. I unint... (by bbugyi200)
by gvampa
Elapse Time Diference btw two clocks in a class
 
Write your question here. I having issue with this function to get difference btn those two clock which make reference to each other. Any idea please share. ...
[no replies]
by Argus
Validating input
 
I need help validating user input. My code has two instances of input validation, one for integers and another for chars, the issue is that I can't seem to get ...
[2 replies] Last: I see, thank you. Sorry if this is the sort of thing that is basic, bu... (by Argus)
reading a text file into parrellel arrays
 
Hello everyone, I managed to get this part of the program to work properly, but it seems to me that I could go about it a better way. The text file looks like t...
[2 replies] Last: Thank you for pointing me in the right direction. This helps me to see... (by jpanther)
stop reading data into parrellel arrays
 
Hello everyone, Here's my problem. Part of my program is to read a text file into parallel arrays. One array is for Employee expenses(O) and the other for Famil...
[2 replies] Last: Thank you for your reply. I was wondering if that for loop should be t... (by jpanther)
by Ch1156
How to create a custom file container
 
Ok so i want to create a custom file container. For example, .jar and .zip are custom file containers, but .jar is the best example. You can put your files in t...
[9 replies] Last: zlib only does compression (sort of. There is an archive format implem... (by helios)
Notepad++ and Compiler???
 
Ok, so I've tried messing around with c++ in the past, and actually managed to get it working. I know that I used notepad++, and I vaguely remember having to pu...
[1 reply] : instal any command-line based compiler (Either GCC or clang works fine... (by MiiNiPaa)
critique my code?
 
Hello! My name is Tyler. I have been coding for about 3 days now and am pretty much self teaching. I found an article on here about beginner exercises (http:/...
[17 replies] Last: Since one cannot depend on a standard header not including any other ... (by dhayden)
unresolved external
 
I have this script which can read code written with molecules (like DNA) but i am getting an error on my operator class, which is supposed to handle all math of...
[2 replies] Last: LOL, thanks! I kept looking at doOperator and didnt see that i forgot ... (by AmazingBKaiser)
Using a function with a char *array
 
Hey all -- this problem is pretty involved, but basically I have been killing myself simply trying to get started. I need to create a function that splits up th...
[4 replies] Last: Got it working. Thanks a lot for all of your input. This place is an i... (by D0CHollywood)
June 2015 Pages: 1... 1213141516... 32
  Archived months: [may2015] [jul2015]

This is an archived page. To post a new message, go to the current page.