Forum: Coder's Corner Lounge
Dec 24th, 2006, 2:55 AM
|
|
Replies: 20
Views: 455
It seems to me that the two languages that are...
It seems to me that the two languages that are most commonly seen in schools are Java and C++. It would probably do you well to read up on them, especially the object oriented structures. Your...
|
Forum: C++
Dec 17th, 2006, 11:21 PM
|
|
Replies: 7
Views: 196
|
Forum: C++
Dec 15th, 2006, 1:59 PM
|
|
Replies: 7
Views: 196
|
Forum: C++
Dec 14th, 2006, 11:16 PM
|
|
Replies: 7
Views: 196
|
Forum: C++
Dec 14th, 2006, 8:43 PM
|
|
Replies: 7
Views: 196
|
Forum: C++
Dec 14th, 2006, 7:05 PM
|
|
Replies: 7
Views: 196
new unix problem: signals and write() calls
The following code will print prime numbers and output them to a file specified by the user. Also, it will call the alarm() based on values passed on the command line. The SIGALRM and the SIGUSR1...
|
Forum: C++
Dec 14th, 2006, 1:01 PM
|
|
Replies: 4
Views: 115
It seems to be working just fine with the...
It seems to be working just fine with the globals. There were some bugs but the logic of the code is sound. Why can't the signal handler be passed anything more than int signo? Is that just the...
|
Forum: C++
Dec 14th, 2006, 1:57 AM
|
|
Replies: 4
Views: 115
Thanks for your reply. That code you posted is...
Thanks for your reply. That code you posted is making my head hurt so I'll have to stare at it for awhile. The actual code you have in the sig_handler() looks similar to the code I had before this...
|
Forum: C++
Dec 14th, 2006, 1:09 AM
|
|
Replies: 4
Views: 115
unix signal processing
The following is a program I'm trying to get working. My problem isn't the code itself. I can't seem to understand signal handling no matter what I read or try. Will someone please help me...
|
Forum: C++
Nov 8th, 2006, 11:42 AM
|
|
Replies: 7
Views: 195
That certainly seems like a better explanation...
That certainly seems like a better explanation The Dark. I don't really want to use malloc if I don't have to though. How would I use new to create space for the pointer that I'd be passing if I...
|
Forum: C++
Nov 8th, 2006, 12:34 AM
|
|
Replies: 7
Views: 195
|
Forum: C++
Nov 7th, 2006, 10:58 PM
|
|
Replies: 7
Views: 195
Updated. I'm using the malloc command...
Updated. I'm using the malloc command successfully now, but I don't understand how to increase the size of my environment variable.
#include <iostream>
#include <stdlib.h>
#include <stdio.h>
using...
|
Forum: C++
Nov 7th, 2006, 9:38 PM
|
|
Replies: 7
Views: 195
setting env vars in unix
Please examine the following code:
#include <iostream>
#include <stdlib.h>
using namespace std;
int main(){
char * envVar;
|
Forum: C++
Oct 31st, 2006, 8:22 PM
|
|
Replies: 3
Views: 98
I discovered that stat is already defined in...
I discovered that stat is already defined in stat.h. From my text I got the impression that I had to define it manually.
For time.h, I might need it eventually but I don't need it for the snippet I...
|
Forum: C++
Oct 31st, 2006, 8:12 PM
|
|
Replies: 3
Views: 98
|
Forum: Coder's Corner Lounge
Oct 10th, 2005, 10:11 PM
|
|
Replies: 19
Views: 386
|
Forum: Coder's Corner Lounge
Sep 25th, 2005, 5:53 AM
|
|
Replies: 29
Views: 940
|
Forum: C++
Sep 17th, 2005, 4:24 AM
|
|
Replies: 20
Views: 475
|
Forum: Coder's Corner Lounge
Jul 3rd, 2005, 6:34 AM
|
|
Replies: 1,430
Views: 23,610
Great song though I like White Trash by...
Great song though I like White Trash by Steriogram more. Currently, I'm listening to Lucky Boys Confusion- Breaking Rules. Wait no that's a lie, Stiff Little Fingers- Suspect Device just started. ...
|
Forum: Community Introductions
Jun 3rd, 2005, 1:45 AM
|
|
Replies: 8
Views: 182
Sup everyone?
I post as Ghosty but my real name is Chris. I'm currently in college and learning C++. I did some assembler last year and I've tried out Java and VB in the past. I haven't done anything...
|
Forum: Other Programming Languages
Jun 2nd, 2005, 2:32 AM
|
|
Replies: 12
Views: 372
|
Forum: C++
May 31st, 2005, 2:37 AM
|
|
Replies: 16
Views: 362
C++ How to Program 5th Edition by Deitel and...
C++ How to Program 5th Edition by Deitel and Deitel. It's easily one of the best C++ books I've ever used. The 5th Edition introduces Class and Objects earlier than the 4th edition does. It's also...
|