Beginners - January 2011 (Page 17)

by soprot
Give letters specific numbers.
 
Hi Before I say anything, I think that you must know that I am very new to c++. I have not worked w...
[8 replies] Last: sorry, my prob was easy to solve. Sorry for my dumbness. (by soprot)
Writing strings to a .txt file
 
I have the following code: #include <fstream> #include <iostream> #include <string> using n...
[3 replies] Last: Thanks! It works now! (by pwnedu46)
C++ on number input only
 
i tried, do while, while and etc.. i can't just simply input numbers (any int numbers). if not nu...
[8 replies] Last: http://www.cplusplus.com/forum/articles/6046/ (by Bazzy)
Reading bytes, arithmetic operations with them...
 
Hi there!, What i want is basically work with the signed value of the bytes of one file (i don't re...
[3 replies] Last: Hi there!, I solved what i want it to do using this small routine: ... (by bobsands)
lingo game problem
 
Write a program that will play the Lingo game. This game will randomly produce a five-letter word, d...
[1 reply] : Firstly put your code between [co de][/co de] tags so it can be easi... (by hamsterman)
by madsky
RIP Protocol in C/C++
 
Hello all, i want to implement RIP Protocol in C++ what should i do? is there anyone help me? who...
[1 reply] : anyone? (by madsky)
Random Number Generator not working?
 
Well, I'm a beginner programmer, and I would like to program games. So I made this game where the us...
[3 replies] Last: ok well, i didn't know how to change guess, so I put the int guess =... (by Assassin7257)
Passing by reference FUNCTION
 
So I completed a program identical to this one except it passes pointers ( Which I run and compile p...
[6 replies] Last: haha thanks much. I didnt even realize that .... >.>. I figured that o... (by Battousai)
Header File
 
Hello everyone, under which header file does String's stream "in" come? I'm getting this error :...
[2 replies] Last: The memory could not be "read." This is pretty off topic, but it al... (by filipe)
sort a txt file and insert into another txt file
 
hi i have a project and mainly what i need to do is i have a (input)txt file with a bunch of random ...
[1 reply] : [co de] "Your code goes here" [/co de] void ReadArray(ifstream &... (by ne555)
Can you include other headers in your own header file?
 
For example if I make a header file on Notepad or some thing and add this to it: #include <windo...
[9 replies] Last: The headers you mentioned above do not have code for everything you co... (by Disch)
Exception handling
 
SO this may be the last time I ask a question in a while... I think I got the hang of exceptions now...
[2 replies] Last: I'll try to see if I can progress at all by referring to your post. Wh... (by Metallon)
using semicolons in user defined functions
 
can you do it? and if so can you show me an example? something presumably that would look like this:...
[7 replies] Last: bazzy, thanks! I didn't think about parsing the data with a unique cha... (by closed account 4Gb4jE8b)
pausing with getch()
 
i have an interesting problem here. I want the console to be able to pause and then press any key to...
[3 replies] Last: Thanks Duoas, that helped. Edit: you said I can find whether it's a... (by closed account 4Gb4jE8b)
Frequency in array of strings (1,2)
 
I have read a bunch of words from a file into an array of strings, and now I am trying to determine ...
[26 replies] Last: std::vector<> on gcc doubles its size when it reallocates. It cannot... (by jsmith)
Hash Map
 
Hello everyone, is there any library available for Hash Map? without using any other extra librari...
[4 replies] Last: I thought it was unordered, like a Python dictionary. Thank you for th... (by filipe)
Create a "book page" in C++.
 
Hello C++ Experts, First of all, I just want to say that I LOVE C++, but I just don't know much abo...
[15 replies] Last: Ok thanks sohguanh, I really appreciate everyone's input. ~milli (by millitheKidd)
error collect2: ld returned 1 exit status
 
When I run the following command I get an error as displayed below: ~/Desktop/Cs315/binary$ g++ ...
[2 replies] Last: Thank you, I knew it had to be something simple that I was overlooking... (by dsmo223)
More user defined madness
 
hey guys, trying my hand at user defined functions once again, and this program works!....... errrr,...
[5 replies] Last: ok got it now, dumb mistake, computer didnt recognize the comma separa... (by rjd82AA)
No data output
 
So I am writing a payroll program and need to sort the netpay using pointers. I believe my sort stat...
[10 replies] Last: Thanks. Do you have any thoughts on changing the def. of firstname/las... (by cplusplusrookie)
January 2011 Pages: 1... 1516171819... 42
  Archived months: [dec2010] [feb2011]

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