Beginners - April 2012 (Page 48)

by ex81
trouble w/ fstream and a double that contains a comma
 
Basically I have a program that is designed to read a file that contains a first & last name a integer, and a double. What happens is the double contains a c...
[2 replies] Last: Thanks!! I've been using Visual studio 2010, and 11 beta. Both did ... (by ex81)
by iWorld
Sorting: A char double array with date in string forms
 
I need help on how to sort a char double array in descending order: Example: char name ; name ="01/01/12"; name ="02/20/13"; name ="05/01/10"; //a meth...
[1 reply] : if you are just doing dates in that format try int name[/*number of d... (by ui uiho)
I've done crazier things but....
 
Right now I am pretty far behind in C++. I studied the syntax and a few examples of if statements, for while and do loops, and case statements, I did one assi...
[5 replies] Last: Thanks. I just went to You Tube. I figured I'd try the forum first. ... (by closed account 3CG1hbRD)
Can someone recommend a good tutorial for 2010 express?
 
I am new and I am looking for a good series of tutorials for programming in console . Thank you Good books would also be great.
[2 replies] Last: programming in console. Interesting wording but ok. (by SH4773R)
Trouble reading a data file twice. (ifstream, c++)
 
Hi, I have been struggling with this aspect of my project for a long time now. I don't think I understand using .eof fully, but maybe this will help. I made a ...
[5 replies] Last: I LOVE YOU. (by KaiserSoze)
by iWorld
Sorting
 
Hi all, I'm having difficult to use the sorting method to get the subscripts from descending order. for example: {2,6,4,9,10}, since 10 is largest, ill store th...
[6 replies] Last: Thanks, it worked! However I got a small problem, will post in another... (by iWorld)
Code problem (1,2)
 
I am having issue with my code. The menu options will are not being compared and are coming up undefined. I have included the code. Have been working on this fo...
[31 replies] Last: ok that works. now to actually get it to loop the num entry process an... (by EGoodman)
by Suber
Step Through an Array Elements. Help!
 
OKay I have this weather program I finished. But now I have to modify the program so it defines an enumerated data type with enumerators for the months January ...
[1 reply] : You have enum Month {/* ... */}; declared twice. (once outside of m... (by long double main)
by Huyuga
adding stars
 
hi there people, i am new to this forums and i am a beginner at c++. i have tried reading and using google for the answers that i want, but i dont know what to...
[12 replies] Last: @ui uiho, yes i had a look at funtions and it does look neater. Howeve... (by Huyuga)
sorting array
 
Hi! The goal of this program is to let the user enter a number, then create as many random numbers as the user entered (the random numbers must be between 1 - ...
[11 replies] Last: Thank you so much! Now the program works fine :) And for the random nu... (by starter)
Quick question about 'if' statements
 
I can I have many consecutive conditions Example: if (ans=="yes"; ans=="Yes"; ans=="YES"; ans=="yES"; ans=="yeS") If not then how would I do something like...
[2 replies] Last: The problem is solved by performing case-insensitive string comparison... (by Athar)
by roarkr
From hardcoded to user input value
 
Hi, I have been struggling for a long time to find out how to change a hardcoded variable value to a user defined value, but not have any luck yet. I hav...
[3 replies] Last: Hi, thanks for your replies. oonej, I will try to see if you suggest... (by roarkr)
Can't find the infinate loop
 
//Chapter 4 Exercise //Write a program using vectors and iterators that allows a user to maintain a list of his or her favorite books. The program should al...
[6 replies] Last: The major differences between: cin >> string_variable ; and getl... (by cire)
Prime number program. Need help!
 
Hi! I'm new to programming and I need some help with some of my programs. Bare in mind that I know very little of c++ and may make a lot of mistakes. And engli...
[5 replies] Last: all you needed to do for your 1st program was change for (int i = 2;... (by ui uiho)
I need something like system("pause") except lets me put my own message
 
I want to freeze the program(until the user presses a key) and I want to put my own message instead of "Press any key to continue..."
[2 replies] Last: std::cin.ignore();//my suggestion is you want the full code do v... (by ui uiho)
I don't understand what is wrong with a certain line.
 
Line 30 has an error when trying to compile in Dev C++ along the lines of "No match for "operator >>" followed by a lot of stuff I can't understand. Here i...
[3 replies] Last: note that the extractor operator (>>) ignores while space so it puts t... (by ui uiho)
by ND04
[Please Help] enter date and display in details
 
I have a homework problem that I need to convert the month and date from number to the name detail like this for example: today date: 4/8/2012 today is: Apr 8...
[2 replies] Last: I am deeply appreciate for your helps. It work as I expected. Thank yo... (by ND04)
by EeAA
reverse linked list
 
I have to reverse a linked list using a stack and then print it, but having problems with it. It would be great if I can get any hint from anybody. Thank ...
[1 reply] : check the algorithms library for something that would do this. (by ui uiho)
by ctest
Predefined functions and series
 
[URL=http://imageshack.us/photo/my-images/839/ctest.png/] http://img839.imageshack.us/img839/6190/ctest.png 1. question series, it's actually a set of swit...
[2 replies] Last: maybe didnt see the pic. go here http://img839.imageshack.us/img839/6... (by ctest)
how to convert object code to source code
 
hi friends I want to convert object code to source code so that I can change the defnitions of library functions... so plz suggest me how to do it..
[1 reply] : As far as I know you cannot convert object code back to source. What l... (by SH4773R)
April 2012 Pages: 1... 4647484950... 66
  Archived months: [mar2012] [may2012]

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