Forum: Coder's Corner Lounge
Apr 27th, 2008, 10:05 PM
|
|
Replies: 20
Views: 451
Re: Vista RAM Ussage
I'm happy with Vista, and I've been using it for six months now. Never had a single hard/soft lock or blue screen. I like the sidebar and the gadgets hold promise with it's potential interactivity...
|
Forum: C++
Apr 23rd, 2008, 10:12 PM
|
|
Replies: 3
Views: 185
Re: Stl
I understand. What then would you recommend as a good book?
|
Forum: C++
Apr 23rd, 2008, 4:48 PM
|
|
Replies: 3
Views: 185
Stl
Can anyone point me to a good tutorial on the STL or a ebook of some such? I've used google but I'm just curious to see what some opinions would be on some *good* tutorials/books.
|
Forum: C++
Apr 23rd, 2008, 4:46 PM
|
|
Replies: 8
Views: 381
Re: Visual C++?
I used to think the same thing, so you're most definitely not alone. I used to think that all the command line compiling I saw was the traditional, 'correct' way to program. You know, the dos> or...
|
Forum: C++
Apr 20th, 2008, 1:12 PM
|
|
Replies: 14
Views: 440
Re: Vectors
That seems to be just what I need. Although I've never used queue's, so trying to view it in terms of how I would use it for vectors is giving me some difficulty. I'll update when I get it figured...
|
Forum: C++
Apr 19th, 2008, 11:31 PM
|
|
Replies: 14
Views: 440
Re: Vectors
Alright, I have a question.
When using the...
copy(names.begin(), names.end(), ostream_iterator<string>(cout, "\n"));
algorithm suggested to me, how can I apply this to my own class and member...
|
Forum: C++
Apr 19th, 2008, 10:19 PM
|
|
Replies: 14
Views: 440
Re: Vectors
Oh I know. I guess specifically a reason to create my own and use an OOP design within the program versus what I'm doing with it currently. Nonetheless, that's a great idea; just the thing to keep me...
|
Forum: C++
Apr 18th, 2008, 3:19 PM
|
|
Replies: 14
Views: 440
Re: Vectors
I was entertaining the thought of re-writing the program and using classes. How could I add to the program without exiting my realm (being semi-new to the c++ game), while giving classes within the...
|
Forum: C++
Apr 17th, 2008, 4:24 PM
|
|
Replies: 14
Views: 440
Re: Vectors
@grumpy
Taking that into consideration, I rewrote it to be more hassle-free for the user.
#include <iostream>
#include <string>
#include <vector>
#include <iterator>
#include <algorithm>
using...
|
Forum: C++
Apr 17th, 2008, 3:39 PM
|
|
Replies: 10
Views: 503
|
Forum: C++
Apr 17th, 2008, 2:55 PM
|
|
Replies: 14
Views: 440
Re: Vectors
Okay, this is what I have now:
#include <iostream>
#include <string>
#include <vector>
#include <iterator>
#include <algorithm>
using namespace std;
int main() {
|
Forum: C++
Apr 17th, 2008, 2:26 PM
|
|
Replies: 14
Views: 440
Re: Vectors
Lol, my instructor always used void in her examples she gives us. Guess I picked up the bad habit.
|
Forum: C++
Apr 17th, 2008, 1:22 PM
|
|
Replies: 14
Views: 440
Re: Vectors
Ahh. So something like this? Seems to work fine.
#include <iostream>
#include <string>
#include <vector>
using namespace std;
void main() {
string end = ("no");
|
Forum: C++
Apr 17th, 2008, 1:14 PM
|
|
Replies: 14
Views: 440
Vectors
Hi y'all.
I learn by example and writing my own code, and I've been working on vectors recently. I'm going to post my code here, and if anyone could point out a more efficient way to do it, and more...
|
Forum: Coder's Corner Lounge
May 20th, 2006, 3:30 PM
|
|
Replies: 48
Views: 1,435
|
Forum: C++
May 19th, 2006, 12:54 AM
|
|
Replies: 4
Views: 150
Die Roller
Like this?
// Die Roller
#include <iostream>
#include <cstdlib>
#include <ctime>
using namespace std;
|
Forum: Coder's Corner Lounge
Mar 8th, 2006, 12:10 AM
|
|
Replies: 106
Views: 1,806
I personally like Debian. I guess for the most...
I personally like Debian. I guess for the most part, it just depends on your taste in distros, as each flavor of Linux is generally alike, although there are certain sub-categories that Linux can...
|
Forum: Coder's Corner Lounge
Mar 6th, 2006, 4:21 PM
|
|
Replies: 3
Views: 201
|
Forum: C++
Mar 3rd, 2006, 12:03 AM
|
|
Replies: 16
Views: 513
|
Forum: C
Feb 27th, 2006, 12:21 PM
|
|
Replies: 24
Views: 756
|
Forum: C
Feb 27th, 2006, 12:06 PM
|
|
Replies: 9
Views: 425
Very good posts above.
Personally, I fit into...
Very good posts above.
Personally, I fit into the category of using C++ in it's own right. I initially treated the language as an extention, but found it much easier to treat it as it's own. When I...
|
Forum: Other Programming Languages
Feb 24th, 2006, 12:21 AM
|
|
Replies: 8
Views: 307
|
Forum: Other Programming Languages
Feb 23rd, 2006, 5:37 PM
|
|
Replies: 8
Views: 307
I did a quick google before writing the post,...
I did a quick google before writing the post, although I didn't see a too many things which I liked..
I am currently downloading FTN95 as DaWei suggested. I'll go about finding some tutorials...
|
Forum: Other Programming Languages
Feb 22nd, 2006, 11:59 PM
|
|
Replies: 8
Views: 307
Fortran!
I am going to transfer into UCLA next year and get my degree in Mechanical Engineering. Now, one of the course required is Fortran. Yay, I get to program.
HOWEVER, I don't know much about this...
|
Forum: ASP
Feb 20th, 2006, 9:11 PM
|
|
Replies: 12
Views: 846
Last time I checked, chmod was a unix/linux...
Last time I checked, chmod was a unix/linux command. I think they meant applying the command to the webserver itself. Google for answers, because there are thousands of tutorials out there on it.
|
Forum: ASP
Feb 20th, 2006, 9:08 PM
|
|
Replies: 1
Views: 490
Just a few questions...
Long story short, I dropped a class in college. But, I did it a wee bit too late, so I was limited on what I could choose to fill the void. I decided on a ASP class (I only really had 4~ options)....
|
Forum: C
Nov 14th, 2005, 1:11 AM
|
|
Replies: 8
Views: 337
|
Forum: C
Nov 13th, 2005, 8:26 PM
|
|
Replies: 8
Views: 337
Sockets and C
I was wondering if anyone can point me towards a beginner oriented text on WinSock in C. I've found a few, but many were much too advanced for me and gave me only hints at what I need to do. I guess...
|
Forum: C++
Oct 27th, 2005, 10:23 PM
|
|
Replies: 3
Views: 195
Building a Daemon
I was wondering if anyone had any information or links for buildings daemons. Any information is appreciated
|
Forum: C++
Oct 4th, 2005, 12:48 PM
|
|
Replies: 9
Views: 231
|
Forum: C++
Oct 4th, 2005, 12:37 PM
|
|
Replies: 5
Views: 258
|
Forum: C++
Sep 28th, 2005, 5:40 PM
|
|
Replies: 4
Views: 204
|
Forum: C++
Sep 28th, 2005, 5:36 PM
|
|
Replies: 4
Views: 204
|
Forum: C++
Sep 28th, 2005, 5:28 PM
|
|
Replies: 4
Views: 204
Help with some source code
Ugh, this is almost embarassing, first time posting source code. ._.
I have an error with a program I constructed. It compiles fine, I just can't seem to locate the problem. The program is suppose...
|
Forum: C++
Sep 27th, 2005, 11:48 PM
|
|
Replies: 3
Views: 197
Compiler Error
I get this compiler error in Dev-c++ when I try to compile my program:
Is this something to worry about?
It happens when I try to assign:
|
Forum: C++
Sep 26th, 2005, 4:42 PM
|
|
Replies: 6
Views: 273
|
Forum: C++
Sep 26th, 2005, 4:27 PM
|
|
Replies: 6
Views: 273
Yes, that definetely helped. Could you clarify...
Yes, that definetely helped. Could you clarify what you mean by 'type' though? Hate to be a bother, but I feel that word is rather broad and I would love to understand it further. Other than that,...
|
Forum: C++
Sep 26th, 2005, 2:40 PM
|
|
Replies: 6
Views: 273
A question about structures
Hey again. I had a question about some code I was trying out.
Now I understand that the code in italics is defining the structure, but I'm not -entirely- sure what the code in bold is meaning. The...
|
Forum: C++
Sep 24th, 2005, 11:02 PM
|
|
Replies: 4
Views: 171
|
Forum: C++
Sep 24th, 2005, 10:58 PM
|
|
Replies: 4
Views: 171
Quick question:
Hey ya'll. I was going through the tutorials at Cprogramming(d0t)com and came across a command I don't fully understand.
It's the piece of code that is bold. I assume it means end line, but I...
|