Beginners (Page 72)

reading from a file w/ .c_str
 
Hi there I am trying to pass in a text file into a constructor in my Text class. I am confused wh...
[3 replies] Last: Don't declare the variable filename inside your class, pass it as an... (by bazetwo)
Double Linked List Add Function
 
I am writing a program that implements doubly linked lists and am required to add to the front, back...
[4 replies] Last: Is this where my error is? Quite possibly. In your version, line 3 ... (by dhayden)
Ascii code - encryption
 
A user inputs a string. Characters are translated to the ASCII character 3 values higher. I know you...
[4 replies] Last: [quote=Penquir]Thank you!!! wow that was so much easier than I was mak... (by germanchocolate)
by Cpper
Void Pointers
 
I got this from http://www.cplusplus.com/doc/tutorial/pointers/ and void pointers. (Question at la...
[4 replies] Last: [quote=Cpper]I thought the same. But why adding 1 to x will make it y.... (by germanchocolate)
function
 
Write the definition of a function named panic . The function prints the message "unrecoverable er...
[2 replies] Last: You can use the "exit" function that exits the program, which only tak... (by germanchocolate)
Can't find error
 
Trying to create a encryption code. Vowels change to numbers. ex: A or a = 1. It does not have a sma...
[3 replies] Last: My pleasure :) (by TarikNeaj)
Need help with assignment (1,2)
 
I'm working on an assignment and am very new to a lot of the concepts it wants me to do. I have not...
[23 replies] Last: So far, I'd only been looking at your compiler errors and resolving th... (by fg109)
"Lowest Score Drop" hw problem
 
Hi all! I bet this place fills up this time of day on Sunday. Anyhow, I am doing the "Drop the l...
[11 replies] Last: You still haven't updated parts of the program... Main should look so... (by usandfriends)
Fish Tank Classes
 
I need to make a fish tank class as part of a bigger fish project that is able to be cleared, drawn ...
[8 replies] Last: That is what I thought to do at first, but the project guidelines requ... (by mmicha02)
C++ loterry
 
Hey guys, I need you help. i wrote a lotery code but it doesent work korekt and I cant find the mist...
[7 replies] Last: Oh yea, I missed that part, weird that my compiler didint say shit. O... (by TarikNeaj)
by Cpper
Inline function
 
Can you guys explain me what Inline functions are? What is it used for? Thanks for your help!
[1 reply] : http://lmgtfy.com/?q=inline+functions+c%2B%2B https://www.youtube.com... (by TarikNeaj)
Sort a structure
 
Hey everyone. The program I'm working on is going well and I'm just about done, largely thanks to al...
[no replies]
array display
 
I'm having trouble getting this 2 dimensional array to display as a pyramid, and i have no idea wher...
[2 replies] Last: I need to figure out how to do it with an array because later on I hav... (by confusedengstudent)
by sha92
Prime Number Function
 
Hello, My code doesn't give the output, prime numbers 1-100. What have I done wrong? #include...
[9 replies] Last: great! it works. Thank you so much :) (by sha92)
Weather Statistics
 
Code is providing the wrong number for calculating the average monthly average temp #include...
[5 replies] Last: it is outputting the wrong number 141.867. I expected around 70.933 ... (by fg109)
Can array have a value of a struct with a couple members in a struct ?
 
Can array have a value of a struct with a couple members in a struct ? struct allCarsG...
[3 replies] Last: And I wanted to use it to sort all of the cars carId ONLY You cant ... (by TarikNeaj)
Object orientation programming
 
Write your question here. Int x=20 Int y=1 If (x <0 || x>y&&y != 9) --x --y Cout <<x<<""<...
[3 replies] Last: This is how the book we are using for this class showed the code h... (by TarikNeaj)
freeglut warning will not go away
 
I'm creating a simple window using opengl and freeglut. #include <windows.h> #include <GL/g...
[1 reply] : Is there no one who has experienced this or knows the answer? (by Remludar)
How do you sort a stack using selection sort?
 
Part of my homework includes sorting a stack using a selection sort and I don't know how to do that....
[4 replies] Last: I guess pop can be considered a top function.. The public functions ar... (by agamatr)
Password Verifier, trouble verifying password
 
Trouble getting this to run through checking the password properly, please help. I have been running...
[2 replies] Last: Thank you!! I changed that and it works perfectly now. I tend to over ... (by GIjessiebear)
Pages: 1... 7071727374... 82
  Archived months: [mar2015]

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