Beginners (Page 83)

Prime number simple error
 
if i substitute with a=1 and then counts==2 its working, but not with this logic, whats wrong in it?...
[1 reply] : Simple enough for you to figure out for your self that for every num... (by shadowCODE)
Need help with reading a file into a loop and processing
 
I'm new to this and feel totally lost. The problem is to read info from a text file into a program t...
[1 reply] : You have an extra closing curly brace right after your while loop. Rem... (by Stremik)
using DevC++, working on input stream, having input file linking issue
 
I am writing code for input and output streams, i have 2 files in the same working directory of wher...
[no replies]
by Durpo
While Looping and Odd Numbers
 
Hello everyone, i was hoping someone could clarify as to why my code isn't working. I'm fairly new t...
[4 replies] Last: all i need is to make line 13 into z>0 for it to work You don't even... (by dhayden)
Need help with (while loop)
 
I'm starting to learn about while loop, and still kinda confused how to use it. Could you guys help ...
[5 replies] Last: Thanks alot, shamieh n everyone. Thanks to your explanation, I underst... (by Akion94)
Converting ints to letters and vice versa
 
I'm trying to make a program in which the user decides whether they want to decode numbers into lett...
[no replies]
by Wagari
Using different forms of the cin function.
 
Can we not use "cin>>" immediately after "cin.get(str,max,char)"? I cant seem to accept a string fro...
[3 replies] Last: http://www.cplusplus.com/reference/istream/istream/get/ The delimiting... (by ne555)
vector::operator[]
 
I was not understanding vector::operator functionality. I was assuming I can do an assignment as sh...
[1 reply] : does not add elements, it merely accesses elements that already exis... (by Disch)
by shaLL
Redirected to atomicity.h when trying to compile
 
When I try to run and compile the code below, I get redirected instead to the file "atomicity.h" on ...
[5 replies] Last: Atomicity was never in the code to begin with. This is the code: I ha... (by shaLL)
Finding the occurrences of each letter in a string
 
Hello. This is my problem: "Write a program that will read in a line of text and output the number o...
[1 reply] : Counting would be a better title for your post. I posted something sim... (by kevinkjt2000)
by nasser
Inverse string
 
my problem is to inverse a word in statmente then print the statmente with the new word the statmen...
[no replies]
isdigit and char string
 
Hello everybody. Can someone please help me figure out what I'm doing wrong? Here is my code: ch...
[3 replies] Last: Never mind. static_cast did it. Thanks goes to John Harrison at http:/... (by Stremik)
Initializing array...whats wrong with it.
 
Trying to initialize array but i get an error no matter what i do. what am i doing wrong? void b...
[5 replies] Last: I was trying to make a binary to decimal converter. I only need it to ... (by jackelinblack)
instead of multiple bools?
 
So i cant figure out how to make this efficient. I could easily just put multiple if's but that seem...
[7 replies] Last: [quote=JLBorges]Aesthetically, NOTHING == 0 is pleasing. More import... (by booradley60)
warning C4805 and error C2181
 
In the code below, I can't figure out how to fix the " '==' : unsafe mix of type 'int' and type 'boo...
[11 replies] Last: [quote=AbstractionAnon]You have not corrected any of the errors I've p... (by AbstractionAnon)
How to Limit Words in DictationGrammar() Object
 
http://stackoverflow.com/questions/28431382/how-do-you-limit-the-words-in-a-dictationgrammar-object ...
[no replies]
Totally impossible
 
Last week i decided to write an application, quite large to use most of c++ facilities that av learn...
[16 replies] Last: @MiiniPaa thank you, surely that makes sense , am correcting that now ... (by andy1992)
vector erase iterator outside of range
 
customer->GetInventory().erase(customer->GetInventory().begin()+choice); "customer" is a ...
[2 replies] Last: Ohh ok. Thank you :D (by Dolichan)
Linked List Errors: :basic_string<char, std::char_traits<char>, std::allocator<char> >]
 
I am currently trying to get my Linked List, which reads a text file, use my addline and deleteline ...
[4 replies] Last: From the error message, it appears you are calling addList and trying ... (by tipaye)
5 values in one line
 
how do i write 5 values per line in a c+= program where i have to print the numbers from 1 to 100...
[5 replies] Last: The std::endl is more than just endline: http://www.cplusplus.com/refe... (by keskiverto)
Pages: 1... 8182838485... 98
  Archived months: [jan2015]

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