Beginners - June 2014 (Page 6)

Record deleting
 
I Wrote the code that takes a roll no and deletes the data of that roll no but there is a little pro...
[9 replies] Last: 1)Why should i not use getline with binary files ?? Let me first ans... (by jlb)
search an array to find if string is there or not
 
how to compare the string of the users input to a string put in by the user earlier? // Libra...
[19 replies] Last: @Cnewbie51, you may want to ask in the lounge forum for a tutor. Most... (by dhayden)
by yepMe
Double linked list : insertion stops after entering third value
 
Hi All, I am writing a double linked list , but my program is giving me a weird problem, for the ...
[3 replies] Last: oops my mistake :(.. found the problem... (by yepMe)
by h4ever
How to share global object in other modules? (1,2,3)
 
I want to pass this pointer referencing to instance of MyGlobalClass because I need to access member...
[48 replies] Last: Thanks a lot for your help. I was pretty nervous last day, coz this lo... (by h4ever)
If the user enters the wrong name, then enters the right name, the code stops? (I think it's a while loop & control flow issue)
 
I am trying to make a simple program that asks the user for their name and ID. If their name matches...
[2 replies] Last: Oh, I understand! Thanks a bunch. (by compass)
by omoe
Problem with char arrarys
 
Hi guys , Im not that good at c++ but im learning , What i want to do is make a char array started b...
[3 replies] Last: I'm also unclear as to what you're trying to do. You say that jump... (by AbstractionAnon)
Pig Latin
 
A common topic i'm sure. I've managed to make my program compile but it comes up with a very strange...
[4 replies] Last: Started from the beginning; #include <iostream> #include <sstream>... (by ashtonr132)
const_cast
 
Hi,everyone. I have some doubts about using const_cast which I hope that you guys could help me to r...
[2 replies] Last: why an int pointer can hold the address of a const int? There is an... (by tipaye)
Bool not working as intended
 
Hello, I have just started practicing with 'bool' and for some reason it is not working at all, and ...
[4 replies] Last: senhor: Thanks for the suggestion on an if statement, but I am yet to ... (by nrgbros)
stringstream redfinition error
 
I'm using stringstream in order to change my string array into int. When I attempt to use it multipl...
[3 replies] Last: You could also use the strringstream.str() member function to reassign... (by jlb)
Text based game - Save progress
 
Hello ! I am making a text-based game where you pick a character to talk to and you ask them quest...
[9 replies] Last: what editor is that? TGE , text quest editor for Space Rangers. Does... (by MiiNiPaa)
Flight Seating arrangements
 
uhm, I know that i should be doing my own homework , but can anyone tell me whats wrong in this part...
[3 replies] Last: It looks like the expression could be simplified: if (x >= 29){ ... (by helios)
Some info on where to start as a c++ game engine programmer
 
Im sorry if this has been answered some where but i could never find the answer to this question. ...
[8 replies] Last: Thank you so much BHX Specter, you have finally awnsered my questions ... (by FatAngryCows)
by cybr
c++ code
 
Write your question here. #include <iostream> using namespace std; ////////////////////////////...
[3 replies] Last: Do you know class syntax? Do you understand the cout and what it doe... (by AIa43)
by AIa43
Subprograms in arrays
 
I don't know if it's even possible to put subprograms in arrays, such as items in an in-game shop. ...
[4 replies] Last: Thanks! (by AIa43)
Reading data from a txt file
 
Hi I was trying to create a program that reads data in a txt file and produces it. My problem is t...
[4 replies] Last: Actually I figured it out, I had to change the file name in order to d... (by tehnoobshire)
Is there any difference?
 
Hey guys, I've been using the member function ".at" of the String object for printing out charact...
[2 replies] Last: Ah yes that makes sense. It's just explained exactly what you just sai... (by Sausage)
by Drak
Grading Program (Also using arrays)
 
Now this one is due along with my other topic "Numbers in a file". Me and a classmate have been work...
[7 replies] Last: We fixed everything. There was something wrong with the program we wer... (by Drak)
Returning Values from Functions
 
Below is my program. I need it to run 1 - 12seconds and the distance in feet. But it only shows th...
[3 replies] Last: I got it, thanks for the response! #include <iostream> #include <iom... (by treed2010)
Exceptions continued
 
I am trying to teach myself exceptions; and not doing a great job. I have a section of code here in...
[4 replies] Last: I see my error! thanks helios! (by DEnumber50)
June 2014 Pages: 1... 45678... 48
  Archived months: [may2014] [jul2014]

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