Posts
 
Reputation
Joined
Last Seen
Ranked #4K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
7
Posts with Upvotes
6
Upvoting Members
4
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
2 Commented Posts
0 Endorsements
Ranked #1K
~27.5K People Reached
About Me

Software Engineer

Interests
Hip Hop, Drum and Bass, Computers, and Doctor Who
PC Specs
Thinkpad T40
Favorite Tags

66 Posted Topics

Member Avatar for samaru
Member Avatar for Saxo

[QUOTE=Saxo]Would anyone have a C++ program that will prompt the user to enter the number of students and subjects that have been marked, the user should be able to enter the names of the students and subjects and the user should also enter the associated exam results. The program should …

Member Avatar for meandmyself
-2
524
Member Avatar for Sukhbir
Member Avatar for sanagopi
-1
234
Member Avatar for ushineon

[QUOTE=Paul.Esson]So in conclusion I think C is a great language to learn since its so powerful :)[/QUOTE] here, here!

Member Avatar for jwenting
0
215
Member Avatar for rms360

Richard Stallman is coming to speak at the University of New Mexico on Wednesday :)

Member Avatar for khalil88
-1
613
Member Avatar for Dani

[QUOTE=cscgal] Why am I getting errors: 'process' : 'struct' type redefinition 'node' : 'struct' type redefinition 'queue' : 'class' type redefinition[/QUOTE] My first guess is you're using Visual C++ :) It compiles fine with g++, maybe try: [CODE]struct process { int pid; // process id char* file_name; // file name …

Member Avatar for Fbody
0
1K
Member Avatar for hunter007

[QUOTE=red_evolve]Hi, I am just another newbie to Linux and am picking a suitable one to start with. Err...reading thru all the replies, why none of you guys mentioned Free BSD ? :?:[/QUOTE] Because the original poster was asking about Linux? Not UNIX? My first distro was Slackware 1.2.3

Member Avatar for gnujohn
0
947
Member Avatar for Dani
Member Avatar for Maurice306

[QUOTE=Maurice306]My internet explorer keeps shutting down. I can open it up but if I try to go to another website it just shuts down. Now I'm also getting an error message in outlook2000 saying that there is a problem with my pst file. I've done the detect and repair for …

Member Avatar for jamescolin
0
187
Member Avatar for phickman7872
Member Avatar for yap.nice
0
400
Member Avatar for big_k105

[QUOTE=freebie]Just installed the apache RPM package and run /usr/sbin/httpd There are too many lines in the apache config file to go over. Just post and ask anything you might want to know and we'll asnwer it. As for email server, kill the default sendmail and install Qmail. It claims qmail …

Member Avatar for wmanjonjo
0
394
Member Avatar for one1082

Why not use fgetc? I don't really use C++ constructs, so in C it would be (and I'm just writing this on the fly so expect some errors): #include <stdio.h> #include <stdlib.h> int main() { char myChar; FILE *in = fopen("myfile.txt", "r"); // Open myfile.txt read-only while((myChar=fgetc(in)) != EOF) { …

Member Avatar for jephthah
0
129
Member Avatar for subtronic

I find it interesting that QBASIC is mentioned for several reasons: 1. This language and any of its predacessors are hardly used these days. And, if they are, it's most likely for nostalgic reasons. At one time, I remember, some schools used it for introductory programming courses. For a time, …

Member Avatar for menonsr
0
932
Member Avatar for MuddBuddha

[QUOTE=Forse]RedHat is evil....it's just another windows with loads of wizards and 1000000 services running by default plus not to mention the RPM hell. Be a man get getoo and learn how to configure config files :twisted:[/QUOTE] I'd rather build all my applications from ground up. I don't like RPMs *ugh*

Member Avatar for jbennet
0
331
Member Avatar for seanyu

[QUOTE=cscgal]You have to be in text mode to install video card drivers - or else you'll be trying to update files that are currently in use.[/QUOTE] No you dont, edit /etc/XF86Config(-4) with the correct information and reboot the X-server... of course you have to know the driver, monitor vertical and …

Member Avatar for nelectrom
0
682
Member Avatar for lestont

[QUOTE=lestont]Hi. Yes I managed to create a boot disk and I can access fedora now.But where and how can I manage to change the grub utilities?Sorry I'm new to linux,I tried reading the grub manual but I can't really get what I'm trying to do.Your help will be appreciated...[/QUOTE] First, …

Member Avatar for tom_daniweb
0
360
Member Avatar for crestaldin

[QUOTE=crestaldin]:p [FONT=Comic Sans MS][COLOR=RoyalBlue]Hello , Ps I need someone to direct me to any site where I can get some challenging programming tasks that will enable me develop my C++ programming skills. I'm tired of reading books and tutorials and need to lay my hands on something practical this summer. …

Member Avatar for mmiscool
0
256
Member Avatar for Narue

[QUOTE=cscgal]If you guys who frequent the forum think that there are enough C questions posted to warrant their own forum, I have no problems with it. But please ensure that this would be a smart move - I agree with Julienne about the cross-posting and the people who aren't going …

Member Avatar for Electrohead
0
608
Member Avatar for beeman81

[QUOTE=cscgal]Nice article. I'm not so sure if I agree with you, though. I seem to think that CPA affiliates never work for me. I can generate a decent amount of revenue due to banner/text link clicks, but not when it comes to my visitors actually having to sign up for …

Member Avatar for Gainer101
0
160
Member Avatar for Fiyona933

Fiyona, I don't want to get on your case, but would it be too hard to "Preview" what you've written before you submit? We all make spelling and grammatical errors (God knows I do), but you've just about breached the threshold between comprehensible and incomprehensible. If English is not your …

Member Avatar for Koteswar
0
165
Member Avatar for Prahaai

[code] #include <fstream> using namespace std; int main([b]int argc, char **argv[/b]) { ifstream file; if (argc == 2) { file.open([b]argv[1][/b]); ..... } ..... return 0; } [/code] Or something :)

Member Avatar for Dave Sinkula
0
219
Member Avatar for Tetsu

[QUOTE=Narue]>It is skipping some of the datas. Which parts of the data are being skipped? Help us to help you by narrowing down the problem as much as possible. Otherwise we'll just ignore you.[/QUOTE] Or talk about you on IRC :) Hah j/k

Member Avatar for Tetsu
0
471
Member Avatar for kramer147

Hello... your code... is well.... um, yeah... here is a [u]very[/u] basic example of how to get input from the keyboard in C (in the console) that I whipped up just for you [i]Generated: Fri May 13 01:22:44 2005 [/i] [code] [[b][u]001[/u][/b]] [b]#include <curses.h>[/b] [[b][u]002[/u][/b]] [[b][u]003[/u][/b]] int main() [[b][u]004[/u][/b]] { …

Member Avatar for Dogtree
0
396
Member Avatar for zeroth

[QUOTE=JANINE]guys, i must say thanks for this lovely juicy information you have provided. i'll be frank in saying i've never used linux but as a techie im always up for new things and info. someday it'll be useful.:D keep smilin ur doing gr8[/QUOTE] Don't use an emulator :) Install [i]stage1[/i] …

Member Avatar for JANINE
0
706
Member Avatar for admdvv

[QUOTE=admdvv]At runtime I obtain an instance of descendant of TObject (for example its name is TGoodForm). The definition of TGoodForm is unknown at compile time (I know that it is TGoodForm from TObject::ClassName()). [B]The question: how to create new instance of TGoodForm ?[/B] In another words, can I get address …

Member Avatar for admdvv
0
229
Member Avatar for theinsaneone

[QUOTE=theinsaneone]Dear friends I am asking anybody to please provide me with a round robin scheduler in C programming. I have a non preemption program, but i need a preempted one. Please help.[/QUOTE] Why can't you program it yourself?

Member Avatar for Narue
0
113
Member Avatar for some one

[QUOTE=some one]beleve me she descuss the homework after we give it to her so I need it to be right thanks[/QUOTE] Write out your program out in pseudo-code (how you think its suppose to work) and post it. I can begin to help (and teach) you, then.

Member Avatar for Narue
0
245
Member Avatar for Acidburn

[QUOTE=Acidburn][code] int hangman::checkstatus() { for ( int i = 0; i < 5; i++ ) { if (encryption[i] == '*' ) { return i; [b]cout << i;[/b] [b]break;[/b] } } if ( i == 4 ) { cout<<"You win!"<<endl; } return 0; } [/code] [/QUOTE] Maybe you can tell me …

Member Avatar for Dave Sinkula
0
184
Member Avatar for raghavendrak

[QUOTE=raghavendrak]Hi Friends, I want to write a MP3 player with minimum GUI for Linux (Fedora) I dont know where to start with I have knowledge of C/C++ programming, but not much knowledge of creating a GUI. I use Eclipse. I want to write for KDE. Can you please guide me …

Member Avatar for subtronic
0
275
Member Avatar for jasweb2002
Member Avatar for Paul.Esson
0
328
Member Avatar for SquirrelProdigy

[QUOTE=SquirrelProdigy][CODE]if(cmd=="new"){ string name,desc; cout<<"Name? "; cin>>name; Setcursor(Conloc); cout<<"Desc? "; cin>>desc; Setcursor(Bodyloc); Invitem Item(name,desc);[/CODE] When the values of the string desc is set through cin, if a space is used, all text after that space isn't used. Also, If two words are used when setting name, it will give the second …

Member Avatar for subtronic
0
272
Member Avatar for winbatch

[QUOTE=winbatch] Also, in the syntax you are using for inserting into the map(which I've never seen before), what int is being assigned for the value?[/QUOTE] Beautiful isn't it?

Member Avatar for Narue
0
452
Member Avatar for silicon
Member Avatar for subtronic
0
171
Member Avatar for nizar4445

[QUOTE=nizar4445] for(j=0;j<5;j++) [/QUOTE] [code] [b]tmp.c[/b]: #include <stdio.h> int main() { int err; int i = 0, j; FILE *f; f = fopen("tmp_file", "r"); if (!f) { perror("fopen"); return -1; } else while ((j = fgetc(f)) && !feof(f)) printf("%c", j); return 0; } [b]tmp_file[/b]: efefewf efewgfrewgrwgrewgttrf fewfrewrwer 1 2 4243 4324 …

Member Avatar for nizar4445
0
270
Member Avatar for winbatch

[QUOTE=winbatch]As seen in another thread, I'm working on a Log class. I'm running into an issue that if I delete the file that's being written to, the Log class doesn't detect it and continues to 'think' it's writing even though the file is gone... (Note that this is on sun …

Member Avatar for subtronic
0
2K
Member Avatar for nizar4445

Uh.... this looks like [bad] [i]psuedo[/i]-code to me... which you probably copied, thus making it [b]not[/b] yours (at least in terms of origin). This question is so foolish and remedial, it'd do you (and the rest of humanity) some good to figure it out on your own methinks. I mean …

Member Avatar for sinrtb
0
307
Member Avatar for Raza

[QUOTE=Raza]im going to make an operating system...after completing my boot and kernel work....not i have just created a simple c++ program for my os....now i wan to convert that c++ .cpp into .bin so i can write it into floppy sector...bcoz my os will be base on floppy disk... question …

Member Avatar for subtronic
0
139
Member Avatar for innocent_one

[QUOTE=innocent_one]I am trying to get a simple round-robin scheduler working....using the fcfs..[/QUOTE] The correct acronym is FIFO (First-in, First-out). It's important when working with data structures and algorithms to use the correct terminology. Even though I was able to infer what you meant, a good way to develop yourself as …

Member Avatar for innocent_one
0
562
Member Avatar for bobr_1013

[QUOTE=bobr_1013] [CODE] void initializeStudent (student_rec &any_student) { any_student.name[30] = ' '; any_student.ss[9] = ' '; [/CODE][/QUOTE] You have to be kidding me. I'm assuming (I'm hoping) this was your intention: [CODE] memset(any_student.name,0,sizeof(any_student.name)); .. [/CODE] I'm assuming this barbaric [b]system("PAUSE")[/b] is a Windows thing, but because we all know that good …

Member Avatar for vegaseat
0
231
Member Avatar for subtronic

These two languages, for the most part, are completely different; especially now. From culture to paradigm. So let's get a seperate C forum going.

Member Avatar for subtronic
0
296
Member Avatar for Cup of Squirrel

Running GNOME and / or KDE on that laptop isn't going to be very fun. I'd suggest something more lightweight like XFCE if you have to have a window manager. Even then the X server itself is going to kill you on space. Anyway, if the harddrive space is such, …

Member Avatar for TheOgre
0
236
Member Avatar for subtronic

Just looking at all the difficulties people are having with MS Windows :) Now seems like a good time to switch to Linux :) :) :) -- I don't have [u]any[/u] of these problems. But, I also don't play video games or use Photoshop either ;)

Member Avatar for catch
0
74
Member Avatar for Sukhbir
Member Avatar for Narue
0
141
Member Avatar for trashed

[QUOTE=trashed]i have a workstation with broken cd drive and i was intrested in installing linux. what alternative methods can i use to do it, and with which distros? tnx[/QUOTE] I'm assuming your workstation is currently a Windows box? Do you have a floppy drive or a USB ThumbDrive? I've not …

Member Avatar for kc0arf
0
118
Member Avatar for Jpowers22

[QUOTE=Jpowers22]Recently we have been asked to create a hybrid sort based upon quicksorting down to a certain point and insertion sorting from then on. We are to calculate the efficency based upon previous tests. I had very little problems implementing a quicksort algorithm, but for the life of me, I …

Member Avatar for subtronic
1
3K
Member Avatar for dontcare

a switch statement is a mechanism of flow control that can be translated to something like this (provided you return/break after each case), [code] int cond; // case 1: if(cond == 1 { // case 2: } else if (cond == 2) { // case 3: } else if (cond …

Member Avatar for dontcare
0
156
Member Avatar for hopeolicious

[QUOTE=hopeolicious]I have to use a while loop to display everything 3 times and then i have to use a do while loop to do the same thing when i added my while and do while loop it keeps on repeating like a millions times and i cant stop it can …

Member Avatar for subtronic
0
133
Member Avatar for subtronic

So, in my spare time I'm working on a little OpenGL particle engine. I'll give this little guy it's own website and release the source code in a week or so. It's written in 100% C... it's quite ugly right now, but I hope to fix it up. The capabilities …

Member Avatar for mikeandike22
0
88
Member Avatar for subtronic

Hi, I use to visit this site some time ago but got really really busy. I graduated with my BSCS at the University of New Mexico and moved to Austin, TX to work at IBM's Linux Technology Center in the Linux OS Security group. Now that I'm a little more …

Member Avatar for alc6379
0
69

The End.