Search Results

Showing results 1 to 40 of 90
Search took 0.01 seconds.
Search: Posts Made By: Brent.tc
Forum: C++ Jul 23rd, 2008
Replies: 7
Views: 3,445
Posted By Brent.tc
Forum: C Jul 9th, 2008
Replies: 10
Views: 1,164
Posted By Brent.tc
Hehe. No kiddin'!

Not complaining... I have been a bit... inactive, so even if I wanted to, I really couldn't complain. :P
Forum: C++ Jun 30th, 2008
Replies: 9
Views: 1,614
Posted By Brent.tc
Okay, one more try:

void theFunction1();
void theFunction2();

void theFunction1()
{
//blah blah blah
}
Forum: C++ Jun 30th, 2008
Replies: 9
Views: 1,614
Posted By Brent.tc
:( Well, that sucks.
Thanks!
Forum: C++ Jun 30th, 2008
Replies: 9
Views: 1,614
Posted By Brent.tc
Yeah... I realize that now.
My previous question about the "EndMarker" still stands though.
Forum: C++ Jun 30th, 2008
Replies: 9
Views: 1,614
Posted By Brent.tc
what if I did something like this:

int theFunction()
{
//Bla blah blah, code here.
//More code.
int EndMarker;
return 0;
}
Forum: C++ Jun 30th, 2008
Replies: 9
Views: 1,614
Posted By Brent.tc
Since you did not mention it, I take it there is no way to do that?
Forum: C++ Jun 30th, 2008
Replies: 9
Views: 1,614
Posted By Brent.tc
Hi, I need to know how (if it is possible) to determine the sizeof a function...


#include <iostream>
using namespace std;

int theFunction();
int theFunction()
{
int x = 0;
Forum: C Jun 29th, 2008
Replies: 10
Views: 1,164
Posted By Brent.tc
Would this work to output a character?

void output(int c)
{
*(unsigned short *)0xB8000 = 0x0F00 | c;
}

I found this while searching, and it looks useful. :)
Forum: C Jun 29th, 2008
Replies: 10
Views: 1,164
Posted By Brent.tc
Wow. It's kinda strange to even consider that I am taking part in the creation of an operating system... It really wasn't that long ago that I wasn't even capable of writing a functional program... I...
Forum: DaniWeb Community Feedback May 14th, 2008
Replies: 21
Views: 2,332
Posted By Brent.tc
Thanks bunchies!
Forum: DaniWeb Community Feedback May 14th, 2008
Replies: 21
Views: 2,332
Posted By Brent.tc
... found the rules... in bold lettering at the top of the page... :(
Forum: DaniWeb Community Feedback May 14th, 2008
Replies: 21
Views: 2,332
Posted By Brent.tc
Firstly, let me say that I am REALLY sorry that I am doing this, and I know that the c++ section of daniweb is not the section that is supposed to be used for posting general questions about...
Forum: C++ Apr 26th, 2008
Replies: 2
Solved: Ports?
Views: 492
Posted By Brent.tc
Hi, I was wondering how to make a program listen on a port... lests say port 54321. All I want for it to do is listen for any message sent on that port, and then output "54321"... Is this as simple...
Forum: PHP Apr 26th, 2008
Replies: 1
Views: 433
Posted By Brent.tc
Hi, I have made a program in c++ that inputs a file, and outputs the number of characters... I have placed this executable into my apache 2.2 server's cgi-bin directory under the name "TestApp.exe"...
Forum: C++ Mar 31st, 2008
Replies: 1
Views: 433
Posted By Brent.tc
Hi all, I have a few general questions that need answering:
1) Is there a way for an application to run a few final commands before it closes (this one is for all applications, not just windows)
2)...
Forum: C++ Jan 15th, 2008
Replies: 14
Views: 2,629
Posted By Brent.tc
I was just about to post a similar (almost exact) question to this, so why not post it here...

Is there any actual code that can be used to send output to the console (in c++ still) without...
Forum: C++ Jan 14th, 2008
Replies: 14
Views: 3,666
Posted By Brent.tc
More like dumping the box all over the floor... Because once the box is opened (using namespace std; ) you no longer have to open it each time you want something from it (std:wantedObject)
Forum: C++ Jan 14th, 2008
Replies: 14
Views: 3,666
Posted By Brent.tc
Is there a pause in std? do you mean std::system("pause") ?
Well anyways, since 'pause' is/would be in namespace std, you must first 'access' the std namespace.

Think of it as a box where you...
Forum: C++ Jan 14th, 2008
Replies: 14
Views: 3,666
Posted By Brent.tc
I BELIEVE that a namespace is just something used to give context to where something should be used. Also, it helps to avoid conflicting names.
Forum: Windows NT / 2000 / XP Jan 3rd, 2008
Replies: 1
Views: 621
Posted By Brent.tc
Problem solved... How? Dunno, but I'm not complaining.
Forum: C++ Jan 2nd, 2008
Replies: 13
Views: 1,515
Posted By Brent.tc
Though I do partially agree with you Ancient Dragon, I must say that since he has said that his son "shows a great deal of interest in computer programming", perhaps he doesn't wan't to "play games",...
Forum: Windows NT / 2000 / XP Jan 2nd, 2008
Replies: 1
Views: 621
Posted By Brent.tc
Hi, first let me say that I am particularly new to all things hardware.
I have just upgraded my motherboard, and processor... My processor has been upgraded from a 32 bit AMD XP 2000 (1.667 GHz?) to...
Forum: OS 7 / 8 / 9 Dec 28th, 2007
Replies: 2
Views: 2,256
Posted By Brent.tc
Forum: C++ Dec 21st, 2007
Replies: 7
Views: 3,445
Posted By Brent.tc
Hi, I was wondering how to program a device driver for Windows XP in c++. For example, say I wanted to make a device driver for a mouse (I say mouse because that seems like one of the most simple...
Forum: C++ Dec 21st, 2007
Replies: 7
Views: 1,293
Posted By Brent.tc
You have an extra comma (',') before the x... Is that your question, and is that even a problem?
Forum: OS 7 / 8 / 9 Dec 19th, 2007
Replies: 2
Views: 2,256
Posted By Brent.tc
I have a powerbook ?G4?, with an unknown (as in I don't know what it is) OS on it. When I boot it up it asks for a password. I set the password ages ago to keep my brother out, and now I don't know...
Forum: C++ Dec 19th, 2007
Replies: 9
Views: 1,106
Posted By Brent.tc
The reason you are not seeing your message box is because you are using the wrong Windows Procedure
You need to use the ToolDlgProc that you have created... this handles messages sent from your...
Forum: C++ Dec 19th, 2007
Replies: 9
Views: 1,106
Posted By Brent.tc
No... but you will be able to see if there is a problem with the MessageBox function, or if the problem lies elsewhere... When I say "put it in main", I don't mean "Put it in main PERMANENTLY", but...
Forum: C++ Dec 19th, 2007
Replies: 9
Views: 1,106
Posted By Brent.tc
Ok... did you try putting it in main to see if there are problems with messagebox, or if you just screwed up somewhere else... I asume you are using Dev-C++ -- I will try to compile&run your code.
Forum: C++ Dec 19th, 2007
Replies: 9
Views: 1,106
Posted By Brent.tc
#include <winuser.h>
--That is unnecessary as it is included through <windows.h>

Also, try putting that line of code into your main function to see if it shows up then... To me it appears as...
Forum: C++ Dec 19th, 2007
Replies: 9
Views: 1,106
Posted By Brent.tc
Is this the messagebox you speak of?
MessageBox(NULL,"TOO","bre",MB_OK | MB_ICONINFORMATION);
Forum: C++ Dec 17th, 2007
Replies: 3
Views: 807
Posted By Brent.tc
On a slightly different subject... When should the keyword 'this' be used?
Forum: C++ Dec 17th, 2007
Replies: 5
Views: 612
Posted By Brent.tc
doesn't vision disable all keyboard and mouse input? Is your teacher blind?
Upgrade to VC++ -- There is a (free) express edition.
Forum: C++ Dec 17th, 2007
Replies: 3
Views: 807
Posted By Brent.tc
I need to know how (if even possible) to return a substring without having to return a local variable or space allocated by new

here's some code as an example as to what I'm looking for.

char*...
Forum: C++ Nov 17th, 2007
Replies: 11
Views: 1,686
Posted By Brent.tc
My os is XP, I don't know what updates, and can't look right now.
I will try to install it again.

Also, does the express edition allow files to be compiled into working executables, or just run...
Forum: C++ Nov 17th, 2007
Replies: 11
Views: 1,686
Posted By Brent.tc
I have done this (well, tried to). For some reason, the express version of vc++ simply will not compile, debug, or anything. I may however try to 'conver' to code::blocks, it still uses the ?minggcc?...
Forum: C++ Nov 17th, 2007
Replies: 11
Views: 1,686
Posted By Brent.tc
You are using the newly uploaded one right?
Forum: C++ Nov 17th, 2007
Replies: 11
Views: 1,686
Posted By Brent.tc
I changed my uploaded file, hopefully it works now. (It worked for me to begin with, so...)
Maybe you just have to giv it time to do something? The first one woks for me, but didn't when you tried...
Forum: C++ Nov 17th, 2007
Replies: 11
Views: 1,686
Posted By Brent.tc
Yes, they are supposed to be the exact same. Same file was uploaded for each.
What happened is before I uploaded the code I went through and took out a couple lines of code that were useless, and...
Showing results 1 to 40 of 90

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC