Beginners (Page 76)

by lmsmi1
Parsing Commands
 
Is there a better way to parse words in a string to pass as "commands for the console"? I'm making a...
[12 replies] Last: I've found a way to do this right, but can't seem to correctly parse t... (by lmsmi1)
by Yom
BlackJack help
 
Hello, I need some help. I am in a C++ class and we need to build a blackjack game. The professor...
[3 replies] Last: Thanks for the comments, but maybe I should have clarified. I understa... (by Yom)
A problem with using getline
 
I am going to run the program until the user say stop, part of my program is using getline, but afte...
[7 replies] Last: Thanks. I'd studied the code in detail but not studied the test data s... (by Chervil)
Help me find bug in this class!
 
Im practicing creating a class like this: Implement a vector replacement that operates only on integ...
[2 replies] Last: Thank for helping, i will try :) EDIT: It's worked, thank you very muc... (by kradragon94)
How to check if user made an input in a loop
 
So basically I'm trying to make a snake program. Snake would move in one direction with help of loop...
[no replies]
Can't run a program about string.
 
The code works, but after I run the exe file, no response. I am trying to read a line, and count how...
[9 replies] Last: Here is the test code I used to test my logic #include <string> #inc... (by Zaita)
loop problem
 
why does the "multiples++" variable have any effect in the code although it isnt used any where whil...
[6 replies] Last: but doing this just puts it in an infinite loop if anything else is ty... (by Sowmen Das)
print to file from class
 
My code prints out in the console. I want to write the data to a text file. I know how to do this th...
[2 replies] Last: I've now overloaded my opeartor to std::ostream. How do I now put my o... (by vanessatse)
How to compress file(s) in C++
 
I would like to compress a file and have C++ hold it such as a folder, images, and videos. Is this p...
[5 replies] Last: http://zlib.net/ (by Zaita)
To many choices in choices (1,2)
 
Ok, so like my name suggests i am a complete noob to c++. So here is my delema. Im making a text bas...
[20 replies] Last: Here is the main section im having problems with. from line 72 to 136 ... (by Maxthenoob)
I'm getting something weird (1,2)
 
I'm supposed to get this: Testing the FullAdder class. c_in a b c_out s -----------+---...
[35 replies] Last: To be honest with you, people like me will not respond and help you be... (by Zaita)
How to get a sentence?
 
I want to get a sentence. also check how many words in the sentence. I tried to use string like t...
[4 replies] Last: You mean only read in the first three words? you would have to modify ... (by giblit)
Pausing a calculator program
 
Can someone explain "cin.get()" and "cin.ignore()" to me? I don't understand how it works and i want...
[1 reply] : cin leaves the newline character in the stream. Adding cin.ignore() to... (by palauan73)
Please Help!! Cant see what im doing wrong
 
Making a program to calculate change and I cant figure out where ive gone wrong Program is ment to ...
[3 replies] Last: As I said this function has no sense. Instead of processing of the loc... (by vlad from moscow)
by antu55
c++ fstream
 
hi im kind of new to c++. can anyone help me with this code? i want to enter the data into 1 txt ...
[4 replies] Last: thanks man. now i know where my mistake. (by antu55)
Templating Errors
 
So I've been working on this program to maintain LinkedList, and I've gone to now use templates, for...
[1 reply] : templates must all be in the header (cut/paste from the cpp). Also, s... (by LowestOne)
Can Char be given numerical values?
 
Lets say i initialize a variable x and give it a value of A, and i declare value A to be 10, why wou...
[10 replies] Last: 'A' is output as a character, but it is really a number: char ch = 'A... (by LowestOne)
by Fenrir
Question about Input ! Need your help!
 
Hello Everyone. I am new to C++ and have a quick question. I am working on a part that involves me w...
[7 replies] Last: I'm in a basic c++ class as well and to me that stuff is a necessity. ... (by giblit)
A more efficient code?
 
Is there a more efficient way, better than this to find the largest or smallest number out of a set ...
[3 replies] Last: This should work: int indexToMax = 0; for(unsigned int i = 1; i<10; ... (by fun2code)
Help with array sorting
 
Can someone show me the code to do the opposite so it takes gets the largest of index of an array. ...
[2 replies] Last: Haha I definitely feel silly. I was changing too much. Always the litt... (by Nooby23)
Pages: 1... 7475767778... 131
  Archived months: [mar2013]

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