Forum: Coder's Corner Lounge
Jun 5th, 2008, 10:00 PM
|
|
Replies: 18
Views: 421
Re: Best programming language
I chose C/C++ because C++ seems to have at least the basics of lower- and high- level programming. This makes it efficient for almost all programming tasks. May not be the easiest for all task's...
|
Forum: C++
May 26th, 2008, 4:02 PM
|
|
Replies: 8
Views: 321
|
Forum: C++
May 26th, 2008, 3:16 PM
|
|
Replies: 8
Views: 321
|
Forum: C++
May 26th, 2008, 1:44 PM
|
|
Replies: 8
Views: 321
Re: Reading text from a file.
I have it working right but the problem is I can't get the getline() function to read a whole line into the temp object. Any help would be appreciated, thanks.
|
Forum: C++
May 26th, 2008, 10:17 AM
|
|
Replies: 8
Views: 321
Re: Reading text from a file.
Hmmm... I've checked to make sure the file exists, as a matter of fact I wrote it by hand. I did put it in \debug like I'm supposed to but I'm still getting my error. Perplexing...
|
Forum: C++
May 25th, 2008, 10:45 PM
|
|
Replies: 8
Views: 321
Reading text from a file.
I am having a problem reading text from a file. I thought I have followed every rule for opening and reading a file but it is still not working. Note, I am not completely done with this, I still...
|
Forum: C++
Apr 19th, 2008, 8:47 PM
|
|
Replies: 15
Views: 577
|
Forum: C++
Apr 14th, 2008, 3:32 PM
|
|
Replies: 15
Views: 577
Re: Multi-dimensional vectors
Thanks, what happened is that I was looking for more programming ideas and I asked my friend who was doing his homework at the time, so he mentioned this. I asked him how to do it and he told me a...
|
Forum: C++
Apr 13th, 2008, 3:50 PM
|
|
Replies: 15
Views: 577
|
Forum: C++
Apr 13th, 2008, 3:41 PM
|
|
Replies: 15
Views: 577
Re: Multi-dimensional vectors
All my work, foiled. :'( My friend told me a wrong way to multiply binomials, and now I have to start the initial algorithm from scratch again. Oh well, just more practice right?
|
Forum: C++
Apr 13th, 2008, 2:39 PM
|
|
Replies: 15
Views: 577
Re: Multi-dimensional vectors
lol I'm missing a lot lately! :$ It's been a few months since I last programed, but I didn't expect to be this rusty... off to try it again I guess!
|
Forum: C++
Apr 13th, 2008, 1:58 PM
|
|
Replies: 15
Views: 577
Re: Multi-dimensional vectors
Exactly the same as the old except that the declaration of t is now out of the loop.
Here:
int t = 1;
for(int i = 0; i < (num_poly - 1); i++)
for(int j = 1; j >= (num_poly - 1); j += 2)
{
|
Forum: C++
Apr 13th, 2008, 1:52 PM
|
|
Replies: 15
Views: 577
Re: Multi-dimensional vectors
I was so distracted by the large computations that I overlooked the little ones! :) Thanks.
EDIT It fixed that silly little slip-up but I'm still getting the error. EDIT
|
Forum: C++
Apr 13th, 2008, 10:57 AM
|
|
Replies: 15
Views: 577
Multi-dimensional vectors
I'm creating a program to help me solve polynomial multiplication so I won't have to do all that multiplying.(I'm lazy. :P)And I have run into a problem. I found that in order for the multiplication...
|
Forum: C++
Mar 15th, 2008, 10:25 PM
|
|
Replies: 2
Views: 182
|
Forum: C++
Mar 15th, 2008, 8:28 PM
|
|
Replies: 2
Views: 182
getline()'s and loops
I'm building a simple program to translate a sentence typed in into l33t. (I know, it's stupid, but I thought it would be a good programming exercise for me.) I have hit a road block of sorts. I...
|
Forum: C++
Nov 30th, 2007, 5:18 PM
|
|
Replies: 7
Views: 295
|
Forum: C++
Nov 29th, 2007, 5:44 PM
|
|
Replies: 7
Views: 295
|
Forum: C++
Nov 27th, 2007, 8:33 PM
|
|
Replies: 7
Views: 295
|
Forum: C++
Nov 27th, 2007, 8:09 PM
|
|
Replies: 7
Views: 295
Creating a Precompiled Source File
Hey, does anyone know how to create and use precompiled C++ source code in Microsoft Visual Studio 2005? I have a class that I like and would like to not have to hunt it down and bring the source...
|
Forum: Community Introductions
Aug 6th, 2007, 3:27 PM
|
|
Replies: 13
Views: 303
|
Forum: Book Reviews
Aug 6th, 2007, 1:08 AM
|
|
Replies: 0
Views: 338
Ivor Horton's Beginning Visual C++ 2005
ISBN-10: 0764571974
ISBN-13: 978-0764571978
In my opinion this is a good, but not great, beginners C++ book.
This book doesn't cover the basics of C++ well enough, the author does an OK job at...
|
Forum: C++
Aug 2nd, 2007, 1:31 PM
|
|
Replies: 12
Views: 352
|
Forum: C++
Aug 2nd, 2007, 1:11 AM
|
|
Replies: 12
Views: 352
|
Forum: Community Introductions
Aug 2nd, 2007, 12:46 AM
|
|
Replies: 5
Views: 163
|
Forum: Community Introductions
Aug 1st, 2007, 7:59 PM
|
|
Replies: 5
Views: 163
Hello all...
Just wanting to say hello!:banana:
I know a little C++(the basics mostly, i/o, structures, pointers, functions(I've forgotten a lot though), and the basics of classes). I hope my nubeeness won't...
|