Forum: C++ Feb 6th, 2006 |
| Replies: 5 Views: 1,942 Hello
Jwenting, we are not here to judge others on their use of language (except in cases of profanity, when the moderator staff will ban others), nor shall we make assumptions on backgrounds and... |
Forum: C++ Aug 24th, 2005 |
| Replies: 13 Views: 13,216 Hi,
I use Emacs and gcc on my linux boxen when coding. Although, I have managed to forget how to write a makefile. I'll have to re-visit my notes on that one.
Christian |
Forum: C++ Aug 24th, 2005 |
| Replies: 5 Views: 1,322 Hello,
I am closing this thread.
There are legal issues here, including the reverse engineering of the software. You might even need to do some nibble editing and other methods. Whenever the... |
Forum: C++ Aug 15th, 2005 |
| Replies: 54 Views: 13,196 Mugilan --
Just wanted to write you and encourage you NOT to give up. Look at all you have learned so far. Keep on trying, and you will get it. No one writes a program perfectly the first time... |
Forum: C++ Jul 29th, 2005 |
| Replies: 6 Views: 5,939 Hi,
I would also have to say that the OS has some sort of role in the generation of this information.
Christian |
Forum: C++ Jul 25th, 2005 |
| Replies: 4 Views: 2,809 Hello,
You might also wish to look up and how to write makefiles. Unfortunately, I do not remember the exact sequence anymore, as I have moved on to system administration instead of programming,... |
Forum: C++ Jul 15th, 2005 |
| Replies: 2 Views: 4,219 Hi,
Depends on what OS you are working with. Processes belong to the Operating System, not to the C++ environment.
For example, I could look at my linux processes by making a system call to... |
Forum: C++ Jul 9th, 2005 |
| Replies: 13 Views: 8,235 Hello,
Well, how do you convert decimal numbers to hex?
10 = A
11 = B
12 = C
13 = D
14 = E
15 = F |
Forum: C++ May 25th, 2005 |
| Replies: 6 Views: 1,745 Hi,
I use C on some of my linux computers that read data in from the parallel ports, and game ports, to signal what equipment does outside the box. It then computes an internal "answer" and logs... |
Forum: C++ May 20th, 2005 |
| Replies: 4 Views: 2,056 Hello,
I am closing this post. The user has not been back since Mid-November, 2004.
Christian |
Forum: C++ Apr 25th, 2005 |
| Replies: 5 Views: 2,644 Hello,
You need to ask your Sequential File Access / Random File access in another thread. People who know the answer, but know nothing about C++ or your talking question will not glance at it. ... |
Forum: C++ Apr 20th, 2005 |
| Replies: 21 Views: 31,144 Hello,
vi is not a compiler, or an environment. It is an editor. My personal favorite editor is pico, but emacs is a nice second. I only do crontab editing in vi.
There are times that I have... |
Forum: C++ Apr 20th, 2005 |
| Replies: 2 Views: 2,469 Hello,
Have you contacted your vendor (the person you bought the software from) via telephone and see what they say? There might also be a technical support phone number to work with too.
... |
Forum: C++ Apr 19th, 2005 |
| Replies: 21 Views: 31,144 Hello,
Depends on what you are writing. For simple C or C++ programs, I like emacs and a Linux command prompt with the gcc or g++ compilers. If I am on my Mac, then XCode is really a cool piece... |
Forum: C++ Apr 12th, 2005 |
| Replies: 7 Views: 1,745 Hi,
Just to point out, those numbers in the syntax error report are line numbers inside the files. Look a few lines up or down of the cited line number for a hint.
For example,
1....... |
Forum: C++ Apr 12th, 2005 |
| Replies: 35 Views: 10,944 Hello,
Excellent discussion so far. Wondering if you would expand it a bit more, and discuss sorting a linked list. Perhaps also go into double-linked lists (when I write them, I write these... |
Forum: C++ Apr 4th, 2005 |
| Replies: 13 Views: 20,231 Hi.
I deleted the source code posts, as they are un-workable in this format to someone who wants to work with them. Please either post the link where they can be found, or post the files as... |
Forum: C++ Mar 29th, 2005 |
| Replies: 5 Views: 12,102 Hello,
Telnet operates on TCP / IP port 23, so you are going to need to manage that socket in your program. You might also want to search out RFC's on telnet programs to see what ports the... |
Forum: C++ Mar 28th, 2005 |
| Replies: 5 Views: 2,853 Hello Acidburn,
If you are going to do that, be sure to save your work first! I have done some expirements with linux processes, and was able to crash a computer in 20 seconds or so.
... |
Forum: C++ Mar 24th, 2005 |
| Replies: 3 Views: 2,168 Hi,
I agree with Narue.
You also forgot error checking on your numeric inputs. what happens if a person enters in a negative ticket price?
Christian |
Forum: C++ Mar 3rd, 2005 |
| Replies: 10 Views: 3,765 Hello,
For future reference, you might want to explain more on what the problem is... there are a variety of evaluations, and you did not specify which one was the faulty one.
I have... |
Forum: C++ Feb 17th, 2005 |
| Replies: 8 Views: 2,203 Hello,
I agree with you Narue that an isolated snippet is the best way to identify and focus on a logic problem within the code. Quick glance, maybe see a variable passed by reference, or a typo... |
Forum: C++ Feb 16th, 2005 |
| Replies: 8 Views: 2,203 Hi,
I don't think it was rude for him to make the files as attachments. At least he made an effort to include code that could otherwise been missing. I would rather grab the attachments insted of... |
Forum: C++ Feb 11th, 2005 |
| Replies: 5 Views: 2,789 Hello,
I have seen a lot of error-checking mistakes in the computer labs. And also agree that multiple extensions .here.there are possible too. Also might want to make sure that you are not... |
Forum: C++ Feb 4th, 2005 |
| Replies: 8 Views: 2,387 Hello,
I suggest that you talk to your Dean at your college then, as I am sure you have already gone to your professor and asked questions in class. If the Dean is unresponsive, then you are... |
Forum: C++ Feb 2nd, 2005 |
| Replies: 3 Views: 2,762 Hello,
First, please do not post programming assistance questions in the Linux Tutorials area. That location is for sample codes and how-to articles, not requests.
Second, we do not allow... |
Forum: C++ Jan 28th, 2005 |
| Replies: 9 Views: 10,319 Hello,
In my day, we made something called a "makefile" in order to bind it all together. Do a search on makefiles.... I have not built one in quite some time.
I also believe that when the... |
Forum: C++ Jan 27th, 2005 |
| Replies: 30 Views: 6,837 Hello,
You posted this code in the wrong forum.... it is not a tutorial. I moved it, and hope that you receive the comments you seek.
Christian |
Forum: C++ Jan 24th, 2005 |
| Replies: 4 Views: 3,388 Hello,
The question may be if you, or the person that setup linux on your computer, chose to install the C++ environment for you. The selections when setting up linux may be referred to as... |
Forum: C++ Jan 20th, 2005 |
| Replies: 11 Views: 21,097 Hello,
Alex is correct, although if pico is properly defined in the Unix path, you need to just type in "pico filename.c" or "pico filename.cpp" and away you go.
Pico is actually part of... |
Forum: C++ Jan 19th, 2005 |
| Replies: 11 Views: 21,097 Hi,
First, and this is a style thing... I hate it when people place the brace { on the same line as the expression... just does not look nice to me.
Adjusted:
int main ()
{
const int... |
Forum: C++ Jan 7th, 2005 |
| Replies: 8 Views: 1,790 Hello,
I believe that there is a flag on the icon from within Windoze that controls window behavior. Look for something along the lines of closing window when done executing. Look in the... |
Forum: C++ Jan 4th, 2005 |
| Replies: 24 Views: 5,077 Hello,
I would code this using a bubble-sort (or other sort) that after the input is completed, the numbers in the array are sorted. Then, you can do a compare, and discard the duplicate... |
Forum: C++ Dec 28th, 2004 |
| Replies: 10 Views: 5,767 Hello,
Welcome to DaniWeb. For the best help, it is best to find the proper forum for your subject (C++) and then post some code that you are having troubles with, and the community will look... |
Forum: C++ Dec 23rd, 2004 |
| Replies: 4 Views: 2,045 Hello,
Sure can. Actually a good programming procedure. main() is a function, just like factorial(), or maybe openfile() or fillarray(). The thing that makes main special is that it is... |
Forum: C++ Dec 22nd, 2004 |
| Replies: 8 Views: 3,844 Hello,
I do not remember the exact syntax, but you need to loop until you reach the end of file. Otherwise your program just makes one iteration.
Christian |
Forum: C++ Dec 22nd, 2004 |
| Replies: 3 Views: 1,979 Hello there,
It will always return no match, because the two pointers do not equal each other.
Think about it for a quick moment.... what is an array? An array is a pointer to a data... |
Forum: C++ Dec 17th, 2004 |
| Replies: 9 Views: 2,493 Hello,
I am locking this thread before it gets out of hand.
There is no way anyone here can know if it is for homework, or for pleasure, or for work/job reasons. With the amount of... |
Forum: C++ Dec 8th, 2004 |
| Replies: 3 Views: 7,518 Hello,
First, you need comments. Every function should be commented out on what it does, and what the variables are. Insightful commenting will help out anyone trying to read the code. I am... |
Forum: C++ Nov 8th, 2004 |
| Replies: 10 Views: 2,412 Hello,
I would enter the numbers into an array, and then have the computer do a bubble sort on them. With the Bubble, the largest value will be on the top ( array[0] ) and the largest value... |