Beginners (Page 4)

getting a ridiculous number
 
for some reason when i enter N as my input for the fifth question i get a number that is far, far to...
[2 replies] Last: Thankyou! (by Baconator)
parameter of a function to another class
 
hello programmers, I'm trying to write two classes and make aggregation of the two classes: one to ...
[1 reply] : now I'm building another class that check if the bday is in certain r... (by gunnerfunner)
Trying to output in a certain way
 
Okay, so I am trying to have a specific output that I want to get, but it prints its out a bit diffe...
[5 replies] Last: still unable what to do here. how do i print out the prerequisites. ca... (by kikiyox77)
Anagram function not returning
 
Hi, i'm a beginner in c++, and i can really use some help here. In the code, when i run it, the prog...
[3 replies] Last: thanks so much! (by rapmonnn)
I must be making a few simple mistakes, but i can't find them and it's making me.... AAAHHHHHHHH!!!!!!!!!!!! **Smash computer
 
So I'm trying to write a code that calculates ride fares and it's just about complete, but there's a...
[2 replies] Last: That was it! Thank you so much! (by Baconator)
PNG Loading
 
Hi, I code for fun, nothing comercial going with me, so I decided to work with gl.h glu.h and window...
[6 replies] Last: If you want to load and display PNG from scratch you will go nowhere b... (by Pattako)
this -> keyword C++
 
What is this-> ? What is its purpose ? What else can be replaced for it? Somewhere around lines 25...
[1 reply] : http://en.cppreference.com/w/cpp/language/this (by keskiverto)
Not sure why the last bit of my code isn't working.
 
I'm trying to make a code to calculate a ride fare, but I'm getting hung up. When i run my program, ...
[2 replies] Last: Ah, such simple little mistakes. Thanks for your assistance! (by Baconator)
by dipzki
hi, i am new here.
 
hi guys, i wonder if someone could help me with my problem. i was given a problem , i need to...
[1 reply] : int num = 0; std::cout << "enter a number: "; std::cin >> num; std::... (by integralfx)
Bool functions and Tic-Tac-Toe
 
Hey guys, I am writing a code to give the result of a tic-tac-toe game. Specifically, every possible...
[1 reply] : I think you need to be explicit: (gameline == 'o' && gameline == 'o... (by jonnin)
Explicit vs Implicit conversion
 
Hey guys, my text book is somewhat confusing on this topic. I know that even if div is of type do...
[1 reply] : > What is implicit conversion exactly? An implicit conversion is any... (by JLBorges)
by w4ssup
copy char pointer to string
 
I have static char sID = "888888"; static char pin = "8888"; static std::string postData = ...
[2 replies] Last: thanks my dude, works perfectly (by w4ssup)
by pmi
NAN in program output
 
Hey I tried to run a code, but the output is NAN, Can anyone help me? thanks Window Trail #860 s...
[4 replies] Last: The NaN values are used to identify undefined or non-representable v... (by integralfx)
Question regarding using eof in a while loop.
 
My professor assigned us a project that requires us to use "eof" (quotation marks for emphasis) in a...
[4 replies] Last: Have a look at the tutorials on this site and here is the section on i... (by kemort)
Failing to Pass values correctly
 
I'm trying to assign a fraction but when i run it its giving me an incredibly large number so guessi...
[2 replies] Last: thank you....i really appreciate it (by bmccormack)
by wasey
New to Valgrind, help interpreting?
 
Can someone help explain what Valgrind is telling me? I have a void function named smallSort2 that ...
[1 reply] : int *ptr1; int *ptr2; int *ptr3; int temp; *ptr1 = *a; *ptr2 =... (by cire)
Treasure hunt Game
 
Hi Guys! I've been asked to make a treasure hunt game. Anyone wanna help me out with it, I've go...
[3 replies] Last: 1. You use extern too excessively without knowing what it means . 2... (by Pattako)
Whitespace causes another iteration of loop?
 
So, I am trying to request the user to input a string to the console. Then, I am trying to loop cont...
[3 replies] Last: btw int _tmain(int argc, _TCHAR* argv ) - haven't seen this one befor... (by Pattako)
Unlimited size palindrome
 
I need some help with a homework assignment. I'm really new to C++ and I'm not sure what search term...
[5 replies] Last: Thank you. (by GoonerBrian)
Looping question?
 
So, I'm trying to figure out how to get everything within the cout lines to repeat if the user puts ...
[2 replies] Last: @ joe864864, When I compiled the program here the compiler gave me a ... (by Handy Andy)
Pages: 123456... 61
  Archived months: [dec2016]

Cannot post in this page. To post a new message, go to the first page.