Search Results

Showing results 1 to 40 of 88
Search took 0.01 seconds.
Search: Posts Made By: BountyX ; Forum: C++ and child forums
Forum: C++ Feb 9th, 2006
Replies: 8
Views: 7,022
Posted By BountyX
Instead of using a text file, use another format that lets you adjust the hieght between lines of the character and the page width. Check out RTF format.
Forum: C++ Sep 30th, 2005
Replies: 1
Views: 1,845
Posted By BountyX
WM_CLOSE (specifically when the X button is clicked)
WM_DESTROY (when the window is destroyed)

Example of a Dialog:


BOOL CALLBACK ExampleDlgProc(HWND hDlg, UINT message, WPARAM wParam,...
Forum: C++ Sep 30th, 2005
Replies: 3
Views: 4,128
Posted By BountyX
Yes there is, it is called sockets.

On windows you can use winsock2 just include <winsock2.h> (it is part of the standard windows API).

Search on the internet for "winsock tutorial" for...
Forum: C++ Sep 30th, 2005
Replies: 8
Views: 14,837
Posted By BountyX
Straight from MSDN.com ...

So in WinMain do something like this:
lpCmdLine = GetCommandLine();
Then parse the lpCmdLine string. (REMEMBER IT DOES NOT INCLUDE THE PROGRAM PATH).

Also, a...
Forum: C++ Sep 26th, 2005
Replies: 1
Views: 6,527
Posted By BountyX
Use PostMessage() . It will add your message to the the recieving windows message que.

(SendMessage is to be used only within the same thread).

Also, check out SendThreadMessage considering...
Forum: C++ Sep 26th, 2005
Replies: 4
Views: 1,983
Posted By BountyX
thnx I got it
Forum: C++ Sep 25th, 2005
Replies: 4
Views: 1,983
Posted By BountyX
yeah...how would i feed the processor raw binary in C/C++ ?
Forum: C++ Sep 25th, 2005
Replies: 4
Views: 1,983
Posted By BountyX
Is it possible to tell a processor to run raw binary code?
Forum: C++ Aug 26th, 2005
Replies: 2
Views: 4,624
Posted By BountyX
Try ImageMagick it comes with a C++ API called Magic++ and suports tiff files and a bunch of other image formats.

One of the best ones around -- you can fiind it here:
...
Forum: C++ Jun 4th, 2005
Replies: 3
Views: 2,561
Posted By BountyX
What compiler are you using?

OpenGL is not standard with all compilers. You may have to download it.
Forum: C++ Jun 2nd, 2005
Replies: 47
Views: 67,474
Posted By BountyX
When you want to pass a constant variable, pass it by reference to save memory.

Example:
int example (const int value); // Uses more memory than
int example (const int &value); // this one
Forum: C++ Jun 2nd, 2005
Replies: 26
Views: 5,364
Posted By BountyX
There's going to be a lot of cross posting going on between the two. I'm up for it :D
Forum: C++ Apr 25th, 2005
Replies: 1
Views: 2,401
Posted By BountyX
Are you dealing with a List control, array, or something else?

If its an array, you should be able to go through the array with a simple loop.

*I think*
If its a list control you can use...
Forum: C++ Apr 25th, 2005
Replies: 3
Views: 11,979
Posted By BountyX
Using Standard Code:
1. You need a class to tell the turlte, aka the pen, direction, color, steps, etc.
2. You need a console menu that can input direction, steps, color, etc
3. You need to draw...
Forum: C++ Apr 25th, 2005
Replies: 6
Views: 2,318
Posted By BountyX
You should know how to do the following in C++:

1. Overload fuctions and Call Parent Methods (Class Structure)
2. How to use interfaces
3. Understand Data Structures and Custom Data Types
4....
Forum: C++ Apr 25th, 2005
Replies: 3
Views: 8,041
Posted By BountyX
Do you need help with the actual coding or putting everything together and making the OS bootable?

Luckily I can help you on both! Here is a resource I want you to take a look at first:...
Forum: C++ Apr 25th, 2005
Replies: 14
Views: 3,800
Posted By BountyX
Check out: http://www.codeproject.com/shell/systemtray.asp

Although the explanation refers to an MFC based example, at the top of the page you can download a NON-MFC example.

You will need to...
Forum: C++ Apr 20th, 2005
Replies: 4
Views: 16,477
Posted By BountyX
Some of the variables being used in the .h file are declared in the .cpp file, which is after you include the info from the .h file.

I reccomend making a schedule class. The code, as it is now,...
Forum: C++ Apr 19th, 2005
Replies: 14
Views: 3,800
Posted By BountyX
Here what I like to call the lazy man's method!

Interprocess communication can help improve the functionality of your program.

// Command line approach
#include <stdlib.h>
...
// To open...
Forum: C++ Apr 19th, 2005
Replies: 54
Views: 79,366
Posted By BountyX
I know this may not seem like a super time saving technique, but the way you name your variables will help save time and reduce compile time errors.. Having a conventional variable naming format will...
Forum: C++ Apr 19th, 2005
Replies: 21
Views: 31,472
Posted By BountyX
People on ebay sell used versions of MSVC for even less.
Forum: C++ Mar 5th, 2005
Replies: 6
Views: 15,538
Posted By BountyX
Back in my 'ole highschool days in AP Computer Science class, we used a library called apstring, it's usage is similar to how java handles strings. Google it, may save you the effort.
Forum: C++ Mar 5th, 2005
Replies: 10
Views: 8,023
Posted By BountyX
Forum: C++ Mar 5th, 2005
Replies: 10
Views: 8,023
Posted By BountyX
Just to expand on the major differences of usage:

The <iostream.h> library has been deprecated for many years now, but some C++ coders will still use it instead of <iostream> library. The .h...
Forum: C++ Mar 1st, 2005
Replies: 4
Views: 2,024
Posted By BountyX
You dont need the semicolon after the last '}'. As for the return type, the compiler assumes that if you return a type of int and not explicit value is given then it is 0. Therefore, it is good...
Forum: C++ Feb 28th, 2005
Replies: 8
Views: 2,647
Posted By BountyX
Narue Said:

I agree, how about a struct instead of passing about 5 or 6 parameters. That way all you have to do is pass a single object.

Fix your typos too and your all set!
Forum: C++ Feb 28th, 2005
Replies: 4
Views: 3,191
Posted By BountyX
If you want to reed a book here's an ebook "Thinking in C++ Second Edition"
http://www.planetpdf.com/developer/article.asp?ContentID=6634

here's a simple tutorial to get you started
...
Forum: C++ Feb 27th, 2005
Replies: 9
Views: 2,072
Posted By BountyX
Messages have been restored, sorry for the inconvience!

I stand corrected on this issue ;)
Forum: C++ Feb 26th, 2005
Replies: 9
Views: 2,072
Posted By BountyX
read


http://homepages.tesco.net/~J.deBoynePollard/FGA/legality-of-void-main.html

Unfortunetly there is a valid claim to using void main(). It's bad practice, but does; technically, follow...
Forum: C++ Feb 25th, 2005
Replies: 9
Views: 2,072
Posted By BountyX
void main is acceptable it is usually more common with programmers using MSVC based compilers (nmake).

also why are you declaring the file streams in main? You should jsut point the open file...
Forum: C++ Feb 19th, 2005
Replies: 5
Views: 2,799
Posted By BountyX
can you explain more? Do you want a static build so you dont need dll's or do you want to build a open gl or dx wrapper dll?
Forum: C++ Feb 19th, 2005
Replies: 3
Views: 2,271
Posted By BountyX
For the benifits of others:

You must include <iomanip> to use this manipulator.


// setprecision example
#include <iostream>
#include <iomanip>
using namespace std;
int main () {
Forum: C++ Feb 9th, 2005
Replies: 3
Views: 5,574
Posted By BountyX
Basically what you need to do is download the site and parse the html data right? If that is the case, the easiest way is to do it using sockets.

Use sockets to send information to the server in...
Forum: C++ Dec 14th, 2004
Replies: 18
Views: 9,932
Posted By BountyX
Copy Paste Find Replace! Hahah stay away from that philosphy and you will do alright.
Forum: C++ Nov 24th, 2004
Replies: 1
Views: 1,318
Posted By BountyX
just use this simple random number definition

#define getrandom( min, max ) ((rand() % (int)(((max) + 1) - (min))) + (min))

then use getrandom function as in the definition.
I forgot which...
Forum: C++ Sep 24th, 2004
Replies: 97
Views: 25,665
Posted By BountyX
I am qualified and I own an anti-cheat company for video games.



Yes, I am familar with those...aimbots are common these days.



First of all to get that nitty-gritty in C/C++ would not be...
Forum: C++ Sep 21st, 2004
Replies: 97
Views: 25,665
Posted By BountyX
Almost everything these days are written in C++. Lets think of numerous videogames, especially Diablo II, warcraft 3, etc.

How many other languages can you do system level programming and retain...
Forum: C++ Sep 20th, 2004
Replies: 7
Views: 3,660
Posted By BountyX
bah I got it fixed, no worries.
Forum: C++ Sep 7th, 2004
Replies: 97
Views: 25,665
Posted By BountyX
:mrgreen: :mrgreen: :mrgreen:
Forum: C++ Sep 6th, 2004
Replies: 97
Views: 25,665
Posted By BountyX
I'm a free lancer who knows many different languages, and to be honest I find languags like Java to be VERY overated. Making GUI's in Java is a headache and well, if you want the whole portability...
Showing results 1 to 40 of 88

 


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

©2003 - 2009 DaniWeb® LLC