Forum: C++ Sep 22nd, 2005 |
| Replies: 7 Views: 1,950 Thanks for helping Narue, but I would really like to program one from scratch. Any tutorial would be awesome. |
Forum: C++ Sep 22nd, 2005 |
| Replies: 7 Views: 1,950 I understand that this already exists, but I want to create my own (I want to learn what's behind those programs). I also want to learn about that type of networking. Basically, I want to make one... |
Forum: C++ Sep 21st, 2005 |
| Replies: 7 Views: 1,950 Hi Everone,
How do I remotely access my computer - I want to be able to control the mouse and keyboard and view the screen in real time. I wanted to do this in Java, but the experts sent me here... |
Forum: C++ Jun 18th, 2005 |
| Replies: 1 Views: 3,754 |
Forum: C++ Jun 6th, 2005 |
| Replies: 3 Views: 1,393 just use else instead of if (c>7||c<1)
if(...)
//if case
else
//else case |
Forum: C++ May 23rd, 2005 |
| Replies: 2 Views: 1,307 here's how a for statement works:
for ( int x = 0 ; x < 23 ; x++ )
{
//LOOPED CODE
}
the first part of the for loop, int x = 0, declares a variable. You can declare the veriable you'll... |
Forum: C++ Apr 27th, 2005 |
| Replies: 14 Views: 3,765 thank you very much. that really helped |
Forum: C++ Apr 24th, 2005 |
| Replies: 14 Views: 3,765 i think bountyx knows, he made a program that does that. Read post #9.
C++ |
Forum: C++ Apr 24th, 2005 |
| Replies: 14 Views: 3,765 can someone please answer my question?
thanx |
Forum: C++ Apr 21st, 2005 |
| Replies: 14 Views: 3,765 thank you very much bountyX, that REALLY helped. on the program u made, wineject, how do you put the icon on the bottom of the screen and create the options when u right click?
Thanx,
C++ |
Forum: C++ Apr 19th, 2005 |
| Replies: 14 Views: 3,765 i already know Java, so i thought that might have helped. I gues not though... |
Forum: C++ Apr 17th, 2005 |
| Replies: 14 Views: 3,765 Hi AcidBurn and Narue,
Sorry for my bad attidute. Just so you know, this wasn't a class assignment(I'm not even in a programming class). I was actually trying to make a CD player.
Thanks for... |
Forum: C++ Apr 17th, 2005 |
| Replies: 14 Views: 3,765 ok, lets say im running Win XP Home, SP2
Can you tell me how to do it now?
Thank you,
C++ |
Forum: C++ Apr 17th, 2005 |
| Replies: 14 Views: 3,765 Hi,
I was wondering if there is a way to control hardware in C++, such as opening and closing a CD drive.
Thanks in advanced,
C++ |
Forum: C++ Aug 22nd, 2004 |
| Replies: 7 Views: 5,801 What's the coolest program you've ever written in regular C++, not Visual C++? |
Forum: C++ Aug 19th, 2004 |
| Replies: 14 Views: 3,510 Try declaring product on a new line. For your second question, nothing goes in the () after main. You only use them when working in functions and passing variables. |
Forum: C++ Aug 19th, 2004 |
| Replies: 28 Views: 5,439 Hi everybody,
thanls for all your help. I just completed the C++ certification. |
Forum: C++ Aug 17th, 2004 |
| Replies: 28 Views: 5,439 Good question - and that's why I need your help. I know C++, but not C. |
Forum: C++ Aug 17th, 2004 |
| Replies: 4 Views: 2,325 Sorry for opening it... :cry: |
Forum: C++ Aug 17th, 2004 |
| Replies: 8 Views: 6,395 Right away, I see that your main function is the first function. Try running the program with the main function last.
--
C++ |
Forum: C++ Aug 17th, 2004 |
| Replies: 4 Views: 40,495 You're correct.
Thank you SO much,
C++ |
Forum: C++ Aug 17th, 2004 |
| Replies: 5 Views: 9,864 I figured it out!!! The answers are:
#define PANIC cout<<"PANIC";quit();
and:
#define PLUS1(x) ((x)+1)
Thanks for your help anyway. |
Forum: C++ Aug 17th, 2004 |
| Replies: 28 Views: 5,439 It is Turingscraft C++ certification. |
Forum: C++ Aug 17th, 2004 |
| Replies: 28 Views: 5,439 Sorry, here's a better font:
#define MAX(x,y) (
if(x>y)delete(y)
else if((y)>(x))delete(x)
) |
Forum: C++ Aug 17th, 2004 |
| Replies: 28 Views: 5,439 Can you help me with the following problem too?
Define a macro MAX that accepts two parametersÂ* and expands to the valueÂ* of the largerÂ* of the two (you'll need the conditionalÂ* operatorÂ* for... |
Forum: C++ Aug 16th, 2004 |
| Replies: 28 Views: 5,439 It's correct - with a minor error. You forgot to delete support after using it. I couldn't have figured it out without your help. I only have 4 questions left for my certification!!! |
Forum: C++ Aug 16th, 2004 |
| Replies: 5 Views: 9,864 When I run the first problem through the compiler, I get the message:
Wrong code assignedÂ* to PANIC. Check the function calls and don't forget semicolons.
On the second question, I get the... |
Forum: C++ Aug 16th, 2004 |
| Replies: 28 Views: 5,439 I got the same error message as before. The message is:
Your code declaresÂ* support twice or acts unpredictably when neither macro is defined.
an you please help? |
Forum: C++ Aug 16th, 2004 |
| Replies: 28 Views: 5,439 It's okay - but could you help me with the questions I have? |
Forum: C++ Aug 16th, 2004 |
| Replies: 28 Views: 5,439 I've got through 226 of 234 questions of certification on my own. These last eight are VERY difficult. When I tried to run your code through the compiler, the compiler says I need to use char type... |
Forum: C++ Aug 15th, 2004 |
| Replies: 28 Views: 5,439 I solved Problem # 3! Disregeard. Instead, can you help with the following problem:
Write conditionalÂ* code that will produce the line of source code charÂ* *support="888-555-1234 option 2"; if... |
Forum: C++ Aug 15th, 2004 |
| Replies: 28 Views: 5,439 Thanks again. It was correct. You're really smart. I'm 10 (out of 234) questions away from getting C++ certified. If you have the time, would you mmind helping me with the other three questions... |
Forum: C++ Aug 15th, 2004 |
| Replies: 4 Views: 2,325 Can anybody help me with some or all of these problems?
Problem 1:
Write the definition of a function minMax that has five parametersª. The first three parametersª are integersª. The last two... |
Forum: C++ Aug 15th, 2004 |
| Replies: 28 Views: 5,439 Is the answer:
void minMax(int a, int b, int c, int* big, int* small){
if(a<c && a<b)*small=a;
else if(b<c && b<a)*small=b;
else if(c<a && c<b)*small=c;
else if(a>b && a>c)*big=a;... |
Forum: C++ Aug 14th, 2004 |
| Replies: 5 Views: 9,864 That's incorrect. Can anybody else help? |
Forum: C++ Aug 14th, 2004 |
| Replies: 28 Views: 5,439 Thanks for your help(Ed). I really appreciate it. It was correct! Can you help me with 4 more problems. I'm getting certified and I'm having trouble with these last few questions. Thanks.
... |
Forum: C++ Aug 14th, 2004 |
| Replies: 4 Views: 40,495 The compiler said your code was incorrect :twisted: , so I thought i would give you the orriginal question.
Here it is:
Write the definition of a function divide that takes four argumentsª and... |
Forum: C++ Aug 14th, 2004 |
| Replies: 28 Views: 5,439 You replied to my post earlier. I had the C++ question on remainders. The compiler said your code was incorrect :twisted: , so I thought i would give you the orriginal question.
Here it is:
... |
Forum: C++ Aug 14th, 2004 |
| Replies: 4 Views: 40,495 When using C++, how do you find the REMAINDER of two numbers and store it in an integer.
I think the answer is:
X % Y = Int Z; :idea:
Please help.
Thanks :lol: ,
C++ |
Forum: C++ Aug 13th, 2004 |
| Replies: 5 Views: 9,864 I need help solving two macro questions in C++.
They are:
Define a macro PANIC that expands to code that uses coutÂ* to print the word PANIC and then calls a function quit (with no argumentsÂ*). ... |