-
Replied To a Post in References needed
Why would you need a reference book for that?? It's happened to me hundreds of time, which is why desk checking and other in-house checking is required. At my last … -
Replied To a Post in Read a file in c++ into an array
If you don't want to do it all inside that function then you have to pass a pointer to the function. #include<iostream> #include<fstream> ifstream& readfile(ifstream& myfile) { if( getline(myfile, str_line) … -
Replied To a Post in Please help me correct my C++ Errors
>The first error is** line 95 'output_minus_10' was not declared in the scope** Look at your program, where is that variable declared? It must be declared somewhere within the function … -
Replied To a Post in Add,delete,modify,display records from text file in C
>Please mail me that source code Please deposit $10,000.00 USD in my PayPal account and I'll do that sometime within the next 12 months or so. Just for curiosity -- … -
Replied To a Post in Looping Using Recursion
I think Mike explained it pretty well in his last post -- recursion can often run the program out of stack space and when that happens your entire program will … -
Replied To a Post in Read a file in c++ into an array
You can't call that function in a loop to read the file line-by-line because the file pointer is destroyed as soon as the function returns to it's caller. You need … -
Replied To a Post in New Life after Death Theories
>Science is highly specialized, a doctor knows no more about quantum I didn't read his biograph on wiki so I thought he had Ph.D., but now that you mention it … -
Replied To a Post in What movie have you seen lately?
Watched Hansel and Gretel again tonight -- very good action-packed movie -
Replied To a Post in What movie have you seen lately?
>78's! Did you have to crank the handle too and direct the trumpet-thingy? I had one of those when I was a kid -- still have some of the old … -
Replied To a Post in several weird problems in a Windows network
Do you have antivirus running on all PCs? Have you checked them for malware? -
Replied To a Post in New Life after Death Theories
>That's a little hard to swallow. Parents-nonhuman, child-human Isn't that the whole of evolution theory? If you believe evolution then you must also believe that at some time some human's … -
Replied To a Post in Getting length of an unknown file for an array
That function is ok for MS-Windows -- but not if the program is running on \*nix or other op. -
Replied To a Post in Getting length of an unknown file for an array
>Somehow I don't see the point of hving this discusion any more. They why are you continuing it??? -
Created New Life after Death Theories
Dr. Robert Lanza write a book titled “Biocentrism: How Life and Consciousness Are the Keys to Understanding the Nature of the Universe“ which apparently (I have not read it, and … -
Began Watching Code Posts
(Off topic? if so, sorry) Why are my posts here not color coding when I use the 'Code' or 'Inline Code' entries? E.g.: var x = 1; function callme(y) { … -
Replied To a Post in Code Posts
Yea, the need to refresh after posting causes a few problems, at least for me. Try editing a post a couple times without refresh -- some edits will be lost … -
Replied To a Post in Reply via email
Great! I was hoping you did that already :) -
Replied To a Post in Reply via email
>Since emails include all of the posts in the thread Can you limit that to just the last 3 or 4 posts in the thread? I don't want an email … -
Replied To a Post in Reply via email
I though the whole purpose of this is so paople can use smartphones and tablets. I don't think there are a whole lot of members who have tables, but that's … -
Replied To a Post in Reply via email
The wrapping is why I said I doubt its usefullyness on smartphones. -
Replied To a Post in Reply via email
Are you using a smartphone? Also, I see that each email contains all the posts in the thread -- is there a cutoff, such as will it quote all 1000 … -
Replied To a Post in Reply via email
It looks ok to me, I'm now getting all the emails. But I still question the usefullness in the Software forums because the code is unformatted and very difficult to … -
Began Watching Read a file in c++ into an array
Hi, I have a txt file that contain certain data inside it. Example of the txt file: Name=John Age=20 Address=c-34, Newyork Name=Martin Age=23 Address=123, New Delhi .... .... and so … -
Replied To a Post in Read a file in c++ into an array
There are several ways to do it, but one way is: in a loop call getline() to read each line, then for each line read use stringstream object to split … -
Began Watching Reply via email
OK ... spent all last night squashing bugs ... now it's here for prime time!! Please go into your member profile and select the option to receive mailing list-style notifications. … -
Replied To a Post in Reply via email
Yes, that's the way the mailing lists I have belonged to worked. Makes for a lot of email in my mailbox, but that's the price we have to pay for … -
Replied To a Post in Getting length of an unknown file for an array
>Once again, the request is for the number of items in the file, not its byte size. I'm not too sure about that -- the OP never said which one … -
Began Watching Getting length of an unknown file for an array
I was writing a program that opens a file assigns each element to an array. I was wondering if anyone had suggestions on how to get the number of items … -
Replied To a Post in Getting length of an unknown file for an array
>Well if I think for just a second the size of int is possible to obtain by sizeof(int). Yes, but only in memory. That has no relationship to the number … -
Replied To a Post in Reply via email
I just read an email where someone created a new thread in the c++ forum. For curosity I used my browser to read the questions, and there was already 3 … -
Replied To a Post in Database or File-Handling?
There is no one right answer, it depends on how complex the data and how complex the queries. If you want to do rather involved SQL type queries then you'd … -
Gave Reputation to vijayan121 in c++ deleting a line from text file
int main(){ vector<user> userDetails; // string line; string userName; string password; { // local scope: we do not want to keep // the stream for longer than necessary ifstream readFile("userInfo.txt"); … -
Replied To a Post in Pls can some one help to debug this command interpreter
Post the new code please. -
Replied To a Post in C++ project
You need to post code becuse my eyesight is not good enough to see your computer's monitor from where I am sitting. -
Replied To a Post in Reply via email
I don't see how one could possibly post code from smartphone -- How could you do copy from a compiler so thatt it can be pasted within email?? For software … -
Replied To a Post in c++ deleting a line from text file
A std::list is better suited for that purpose because vector does a lot of memory reallocations during erase while std::list does not. -
Replied To a Post in Bad Grammar
Is anyone else annoyed about how bad spelling is becoming among people who text a lot? I see the next 100 years evolving an entirely new English dictionary as a … -
Replied To a Post in Password Generator in C
The limitation is on lines 13 and 16 -- only room for 15 number of characters in the password. If you want more then change those two lines. -
Replied To a Post in C++ project
>other than doing it myself! Yes, that's what we want you to do, then ask questions about what you don't understand. We're not going to write the program for you, … -
Replied To a Post in Pls can some one help to debug this command interpreter
line 6 is ok as it is. Changing it to **prog_arv would make lines 10-13 errors because of unallocated memory for those pointers. >you need to remove * to have … -
Replied To a Post in C++ project
Please write in full English words -- this isn't a chatroom. There are a lot of non-native English speaking people here who have no idea what you just wrote. Finally, … -
Replied To a Post in c++ deleting a line from text file
line 64 needs to be an else statement so the the program doesn't attempt to display an erased item in the vector for (int i = 0; i<userDetails.size(); i++) { … -
Replied To a Post in project
wrote a program to display the numbers 1 through 100 on the console window. -
Replied To a Post in C++ project
Cheating on your howmework will do you no good. Why not write the program yourself? Do the math with pencil & paper first so that you know how to solve … -
Replied To a Post in How is the weather today in your country?
Stopped snowing last night, the show plows where out in our neighborhood about 10:00 pm shoveling the snow from the street up into our yards. Nice clear day this morning, … -
Replied To a Post in Reply via email
> It doesn't work through web ( It worked ok for me the first time I tried it with my PCs Chrome browser. Maybe google mail is just wierd :) -
Replied To a Post in Please help For this program(functions)
Do the requirements one at a time, don't attempt to code it all at once. First, code the menu, comple, fix any errors, and repeat until it works correctly. Then … -
Replied To a Post in Getting length of an unknown file for an array
>And also I think there is a way to read the file size, That won't produce the file size, just the number of integers in the file. The integer "123" … -
Began Watching How is the weather today in your country?
How is your weather in your country? I am living in the Philippines and the weather here today is stormy and according to news, we are overloaded of typhoons in … -
Replied To a Post in How is the weather today in your country?
I think you heard wrong ([click me](http://weather.weatherbug.com/MN/Minneapolis-weather/local-forecast/hourly-forecast.html?zcode=z6286&start_hour=2))
The End.