Beginners - April 2009 (Page 8)

by Tripic
ifstream.getline to a string
 
ok im going to post the full code as some of the code wont make since without the globals and yes th...
[3 replies] Last: Thanx Duoas thats perfect (by Tripic)
Unable to use remove() on string?
 
I have been trying to use remove() on a file name that is stored in a string variable with no succes...
[5 replies] Last: std::string filename = "..."; int result = remove(filename.c_str());... (by burger87)
by SJK
PROBLEM IN SOLVING TWO-DIMENSIONAL ARRAY
 
Please give some hints to solve the following program Read roll number and height of ten student...
[4 replies] Last: SJK, you said that you tried the program and that the output was not w... (by jdd)
by masiht
emplicitly and explicitly function declaration
 
Can anyone please tell me what is the difference between declaring a function explicitly and implici...
[8 replies] Last: Thanks Duoas ! (by masiht)
Heap Corruption Error on delete
 
Hello Everyone, I'm having problems deleting a new variable! I have done exactly as is shown els...
[6 replies] Last: Excellent, thank you guys. I was looking for it but I skimmed over it... (by tkurowski)
getline
 
void Add(string artist , string song , int i, int j) { string line; size_t found; ...
[2 replies] Last: wow that worked! thank you! (by shakethatmoney)
error debugging
 
hi, i try to debug a source code but i get this error: c1xx : fatal error C1083: Cannot open source ...
[2 replies] Last: yes, i have check it, one time in the map of souce codes, and one time... (by wolfsklauw)
Lost the C++ code for this:
 
Here: Enter name of data file: sample.txt Read 1606 values from file. Largest value = 870 ...
[1 reply] : If it's not homework, then I assume you aren't a college or high schoo... (by jsmith)
by home56
Reading an input file and breaking it into 2 arrays
 
Good evening folks. I'm in the design phase of writing a program. The portion where I'd like feedb...
[1 reply] : So, you just need two strings? Just read the whole line into a string... (by helios)
Visual Studio Error 2440 char/pointer
 
//I know this is very basic. I found plenty of posts about error 2440 but nothign too too close to t...
[2 replies] Last: Thanks, That helped. (by jfigmedia)
by mdgdoc
Homework almost there, please
 
I am trying to come up with the right codes and answers for this Lab. But I am a little overdone at ...
[10 replies] Last: And now we have yet another incompetent professional out there. I... (by kevinchkin)
how to string breakline
 
Hi. i have some problem with my prog.I need to break the string in txt.file. like in the txt.file...
[1 reply] : Don't post multiple topics. (by eker676)
decimal convert
 
Quick question. did I convert this correctly, the decimal form of -254 is converted to 11111111...
[8 replies] Last: You'll need a hex editor for that, but you can also do this: float... (by helios)
keyword <<
 
Hi,i have one question about '<<', i see it when i use the marco RGB , anyone can tell me what it i...
[2 replies] Last: Thanks (by kolonel)
c++ tutorial question
 
The polymorphism section of the C++ tutorial starts out saying that if int::a::b(c) {}; you sho...
[2 replies] Last: That function has absolutely no purpose. It's best to return values fr... (by eker676)
assignment overloading
 
I'm trying to write a program that uses the stack ADT with a linked list implementation. I can't see...
[9 replies] Last: +1 for PanGalactic's solution. (by jsmith)
by sobi
Determining the highest,lowest and average score of a set of data in C
 
Working on a problem,here is the code.Its actually in C. #include <stdio.h> #include <stdlib.h>...
[1 reply] : As you read the file line by line, keep track of the highest and lowes... (by jsmith)
Syntax incorrect
 
While learning the basics of C++, I wrote the code below and when I used the command in "Visual Stud...
[3 replies] Last: IF is a keyword to the Windows/DOS command interpreter used to parse b... (by jsmith)
A good reference book for C++ and C
 
Hi, was just wondering if anybody knew of a good online reference or book that summarizes all the mo...
[1 reply] : You've got a nice reference right here: http://www.cplusplus.com/refe... (by PanGalactic)
Delete a specific line from a file
 
I'm new to vb but i'm just making a simple program that stores info, allows one to display the info ...
[5 replies] Last: In your Delete string your syntax is wrong. Use a vector to store stri... (by eker676)
April 2009 Pages: 1... 678910... 28
  Archived months: [mar2009] [may2009]

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