No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Computer and Electrical Engineering Major
Addicted to World of Warcraft
- PC Specs
- Toshiba Qosmio F25-AV205 Pentium M 1G DDR SDRAM 64MB NVIDIA DDR SDRAM VRAM with TV tuner/recorder
46 Posted Topics
Re: [QUOTE=sandeepalankar]Well it was asked in my interview and I have no clues how to start with it. [/QUOTE] so i get the job if i do this and you dont?? sounds like you better learn it before you get a job in it. | |
included is my entire program... i know exactly what the problem i am having with this is, i just cant figure out the logic to fix it... ive tried about 10 different things so far. I have it so you can input which position you start at... then go around … | |
Re: Not sure what country you are from asif_NSU, but if you are from United states... I know that West Virginia Univ. has graphics and game design courses in the computer science program. There are alot of people in computer engineering, and like you said... I am also dual majoring, Computer … | |
Re: [QUOTE=Asif_NSU]yeah, i downloaded the student version just after posting the thread, so is PSPICE the defacto industry standard?[/QUOTE] if this is still a popular topic... I attend West Virginia University and I am a Computer Engineering and Electrical Engineering dual major. Here at WVU, the professors have students download and … | |
Alright.. I have to rewrite a program. The thing is, I have to rewrite it using parent and children... With processes (pipes) or threads... How do you create the parents and children with either of these? I am basically asking for a tutorial on how you would create these with … | |
Okay, thanks ahead of time for looking at this. First off the program is in C, not C++. I am trying to read in from a text file... a certain question.... but i fairly suck at programming in C. I have a file pointer set up and i have it … | |
As far as i thought, this should work?? there is a spot or 2 i am concerned if i did it right though. Any ideas would be nice. It fatally crashes when ran in windows, didnt try in linux due to the fact i know it wouldnt work there either … | |
Alright... first off I hate fgets with a passion :) Anyway, I am wanting to read a file into a 2 dimensional array and then randomly select one of those lines to output... What am I missing here? [CODE]void displayQuestion() { /* fp is a FILE pointer. This pointer will … | |
Re: Narue knows her stuff. She is very helpful. And I understand why she gets aggravated. The guy had 40 posts and..AND there is a thread at the top of the lists about code tags... so she has the right. And since she is so active and so helpful she deserves … | |
I must be missing something here. I am having trouble when I try to get an input. The numbers work fine, but once you get the correct answer, the area: [CODE]void tryanother() { char yorn; printf("Would you like to try another one? (y/n)\n"); scanf("%c", &yorn); if (yorn == 'y') getnum(); … | |
Re: Name: Josh Nickname: I plead the 5th Height: 6'2 Weight: 175 Hair: Dark Brown Eyes: different colors and kind of a swirl (brown, green, yellow, sometimes a hint of blue) Location: West Virginia Age: 21 Hobbies: being a dork Relationship Status: confused Fav Music: mainly punk and emo Education: senior … | |
can someone help with this issue? Anytime an operation is performed, the output is random characters and/or numbers... [CODE].MODEL TINY .CODE ORG 100H START: JMP BEGIN ; DEFINED VARIABLES PORT_A EQU 140H PORT_B EQU 141H PORT_C EQU 142H PORT_CR EQU 143H DIR_MODE EQU 2 OP_MODE EQU 3 EON EQU 01000000B … | |
Re: I am interested in open GL too acidburn... maybe we can sorta learn together? or help each other out? | |
Re: [QUOTE=wong.ck] i was wondering if there is any useful website or reference where i can pick up matlab fast and learn how to use the optimisation program. thanks alot[/QUOTE] i dont think you can pick up matlab fast... ive been using it for 3 years now... and i still suck … | |
Re: Dont use them... i did once in a program and lost beaucoups of points... so i dont recommend it. | |
Re: 2 minutes isnt enough time for someone to type... "try it yourself then post code... dont expect it to just be written for you" | |
Re: This link here covers it pretty well. [url]http://www.daniweb.com/tutorials/tutorial6542.html[/url] | |
alright say i have a data file i want to open up and extract the data into a binary tree... i do this to open the file: [CODE]binaryTree::information() { ifstream file; file.open ("proj4.dat"); }[/CODE] although ill have more in that after i learn how to do it.. and i have … | |
kinda like the last program.. just does different things.. anyway, im getting a seg fault i dont understand one bit its off of the menu function. when you input an invalid number like 8 - it says invalid but if you input 7 to quit the program it seg faults. … | |
Re: i just wanted to say i loved the line.. /*Whee! Now, trans->blar[2] is equal to head->next->next->blar[2]! OMGEUREKAPWNZED!*/ thank you for that Drowzee :) | |
for example when i now search for a specific city and none match the function will tell you but if there is a match the program just dies, also when i try the retrieve all function, the program dies by seg fault... so im thinking its in my while loop? … | |
Re: try changing the int main (void) ... to int main () { should read like this int main () { float ...... and no { here. | |
what all do i have to do to make this work... this is my class and functions... and the errors are at the bottom... do i have to overload operators or is there a much easier way? thanks. and i know the return function isnt written yet. [CODE]#include <iostream> #include … | |
Re: alright... dani i think its a good :) | |
Here is my entire code. I am getting a segmentation fault ( I love pointers for this reason!!!!) off of one of my head pointers i believe. Can anyone help me find/ fix this? please, and thank you. [CODE]/* The purpose of the program is to simulate a queued line … | |
Re: first off.. should be #include <iostream> second... don't use void main ().. change to int main () { and end with return 0; } [CODE] #include <iostream> ... int main (){ .... return 0; }[/CODE] | |
Re: [QUOTE=wu7jian] [CODE]struct llink { int elem; llink* nextelem; } ......................................//when i take the struct out the class definition , the program works well.but just like this it doesn't working! i am confused . ...........................................................................[/CODE] [/QUOTE] You have to end a struct with ; should be [CODE]struct llink { int elem; … | |
Re: ive used -1 for when i do a queue. ill start the first element at 0 and the back of it at -1 then step them through. either that or start one of them at whatever i define max with. i think ive used -1 with stacks as well. its … | |
Here is a chunk of my program... without the class and header file... I am wanting to take that little graph thats in the middle of the code and have the user input a starting point and an ending point... the class is a stack class with all the functions … | |
just curious why this isnt working... its probably simple.. but its a friday so im allowed to not access my brain as much... anyways... i want to input a string then switch that to a char array then switch back and print reversed string this doesnt work... debugger stops it … | |
Re: [QUOTE=Narue]> C++ can do damn near [b]anything[/b] if you have to time and patience to do it. So when you ask "Can C++ do <soandso>?" the answer is invariably, "YES!".[/QUOTE] So it can clean my house and do my laundry? Sweet. :p | |
Re: [QUOTE=Narue]>How can one be assisted by Dave Sinkula By posting a question. If he's interested, he'll help you. Otherwise, you can just settle for the rest of us who don't "understand C++ very well". :rolleyes:[/QUOTE] Poor narue. If you feel unwanted... I will personally bug you all the time for … | |
why does the output file look completely different than the input file... what am i doing wrong here? [CODE]#include <iostream> #include <cstdlib> #include <fstream> using namespace std; int main () { char maze[10, 10]; int x, y; ifstream file; ofstream output; file.open ("maze.txt"); for (y = 0; y < 10; … | |
Re: try this.... pack[0].setage(4); arrays start out at 0 and go up... if you declared pack[8] the elements go from 0-7. and when you use arrays you have to include the [?] where you use it at with ? being the position you want to use. | |
im confused as to how to get the pointers to save values... anyone with helpful advice??? this is where i have gone so far.... [CODE]#include <iostream> #include <cstdlib> using namespace std; int main () { typedef struct dataNode { char arriveCity[30]; char departCity[30]; int totalPassengers; int passengers; int flightNumber; struct … | |
Re: theres a program i am wanting and the student version runs in the thousands... its ridiculous... | |
Just curious how you feel about a few things... First, how do you feel about operator overloading? Our next project "can" involve it if we chose and I think it would be easier that way, but the TA's said some people think its a bad idea. I was just trying … | |
heres my main [CODE]int main(){ int hours[50], cnt = 0; char grades[50], gpaForOneClass[50]; string course[50]; float gpa = 0.0, totalHours = 0, gpaSum = 0; gradevalue in; while (1) { cout<<"\nEnter a course, the letter grade received, and the credit hours. "<<endl; cin >> course[cnt]; if (course[cnt] == "quit" || … | |
Our program got cut down from a .h and 2 .cpps to just one .h and one .cpp.... so trying to convert fucntions back to my .h I received tons of errors. Hopefully someone can help me get rid of most of these? please? I need to turn in the … | |
Re: [QUOTE=Narue]>Microsoft Visual C++... great IDE, very easy to use, but costly... The standard edition is only $99US. Hardly costly unless you're a student with no cash. Though Dev-C++ seems to be a favorite among the freebies.[/QUOTE] Hey, nothing wrong with being a poor college student.. And of the 3 c++ … | |
well... its me again with another project following the basics of the last one... heres my header file: [CODE] #ifndef SCHEDULE_H #define SCHEDULE_H #include<string> class schedule { public: // this section will display the heading for the output table void printHead (); //This function is used to calculate the totalgpa … | |
Re: [QUOTE] x=0:0.001:0.05 y=sin(2*pi*50*x) Now, I am unable to add the two signals together. Please help and advise how to do this. I am doing this so that I can test a filter I prepared. Thank you.[/QUOTE] Its been awhile since ive messed with matlab but it looks like you want … | |
i have win xp home edition... and my compiler is dev-C++ although i dont think its a compiler issue.... This is my project needs: (my attempted code follows) ( Write a main function with all required internal functions subprograms (defined later) that tracks your college classes, grades and GPA. Sample … | |
Re: First off, the best spyware detector I've found is a beta version microsoft put out. [url]http://www.microsoft.com/downloads/details.aspx?FamilyID=321cd7a2-6a57-4c57-a8bd-dbf62eda9671&displaylang=en[/url] I have only been using it for about 2 weeks, but it seems to do a good job. I had to reformat because viruses overran my computer... I think the day i did reformat … |
The End.