Beginners (Page 2)

Reading binary data in human readable format
 
Hi, I'm new to C++ and I'm trying to read various amounts of binary data from a file. I'm reading th...
[3 replies] Last: Have you seen? Disch's tutorial to good binary files http://www.cplus... (by andywestken)
Access the main() from an instantiated class (1,2)
 
Hello everyone, as the title say, i can access the main vars, property and methods from an instan...
[37 replies] Last: Thank you for the help. I will soon open a new thread for other quest... (by Amiplus)
What are the limits of console applications?
 
What are the limits of console applications? What can I do with them? What can't I do with them? ...
[5 replies] Last: Nothing prevents you from manually creating a window from console app... (by andywestken)
Counter skipped by case error
 
Every time I try to run my program I get and error that says "initialization of 'counter' is skipped...
[1 reply] : Encase case part in block: case 2: { int counter = 0; while(c... (by MiiNiPaa)
scanf
 
I'm running thisc code in 64bit linux. However, my scanf is not stopping and keep taking new input...
[1 reply] : Do you realize that the "%x" format specifier expects unsigned int var... (by jlb)
by Kajh
Trouble with if statements and strings
 
I am just trying to store an answer of yes or no from user, but the program doesn't switch to the co...
[3 replies] Last: You can only use one letter (or two) as string variable i.e Y for YES... (by Aminu Bishir)
Read/Write from File into Array
 
A bit different from my last post. This assignment/program is suppose to read an external txt fil...
[3 replies] Last: > when I try to run the program No, the error is at build time, there ... (by ne555)
How to find and count different duplicates in a container
 
Hi guys. I've been reading about ways of finding duplicates in a container, but I still lost of how ...
[13 replies] Last: I get it now. Thank you MiiNiPaa and keskiverto for the help and for t... (by Leo Alves)
by h4ever
Is it possible to simplify this definition for object?
 
Is it possible to define this object without need to create types for each property? Something like:...
[9 replies] Last: I did and works. THX (by h4ever)
help
 
heloo My code must print only doubles words Exemple marius.txt B A C marius1.txt A marius2.txt is em...
[6 replies] Last: [quote=MiiNiPaa]You need to rework your program completely Read all co... (by MiiNiPaa)
there is no "dat" file although i write the out
 
the code have not output the ".dat" file ?? #include<cstdio> #include<cmath> #include<iostre...
[2 replies] Last: oh thank you , i changed the "* (asterisk)" with a available characte... (by qwerwan5)
Looping Switch problem
 
Hey everybody, C++ beginner here. I'm trying to get the following code to loop back to the begin...
[2 replies] Last: http://stackoverflow.com/questions/21567291/why-does-stdgetline-skip-i... (by MiiNiPaa)
by tatai
sort data from int and char mixed format
 
I have file with data like this 148D 124D 225D 236D 259D I need the data in the following fo...
[2 replies] Last: thank u!! (by tatai)
txt file and more
 
so i pretty much ended writing my program and i have 2 questions. 1. i want to make all the cout<< ...
[1 reply] : 1. i want to make all the cout<< in my program to be printed on both ... (by coder777)
sorting string arrays from greatest to smallest
 
Hello everyone, I'm trying to work out this problem in small steps. I have two arrays one is of stri...
[8 replies] Last: Line 12: Why cnt - 1 ? Otherwise show the modified code and some tes... (by coder777)
2d Vectors in Class
 
Hello, I am currently trying to create a two d vector in my class. But it's giving me an error. I re...
[1 reply] : Perhaps: http://www.informit.com/articles/article.aspx?p=1852519 (by keskiverto)
Classes Error C++
 
im having issues with my code and since im just starting my C++ course im still having problems wi...
[3 replies] Last: Why don't you use the Pet::Pet(string, string, int) ? (by keskiverto)
Using Magnification API For Windows
 
I would still consider myself a beginner programmer. I don't know where to start on this. I'm tr...
[1 reply] : If you are using the Window's operating system you would need to learn... (by CodeWriter)
Lambda Expression
 
How would you write the lambda expression for price? Also, how come double v does not have to be in...
[3 replies] Last: > initialize a vector with an ordered pair The same initialisation ca... (by JLBorges)
STL Containers
 
I am having some difficulty understanding the STL containers list and forward_list . I understand...
[4 replies] Last: > I know that std::list is used for quick O(1) inserts/deletes and slo... (by JLBorges)
Pages: 1234... 40
  Archived months: [may2015]

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