Search Results

Showing results 1 to 40 of 219
Search took 0.06 seconds.
Search: Posts Made By: BountyX
Forum: C++ Feb 9th, 2006
Replies: 8
Views: 6,671
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: HTML and CSS Jan 20th, 2006
Replies: 1
Views: 1,520
Posted By BountyX
I fixed it, I just created a background that looks like two columns and offset the center column in between. More of a work-around than a fix.
Forum: HTML and CSS Jan 19th, 2006
Replies: 1
Views: 1,520
Posted By BountyX
Hey I have two side colomns and a middle column. The problem is when the content in the middle is too big, it overflows to the bottom of the page causing scrollbars. The side columns are susposed to...
Forum: C Nov 21st, 2005
Replies: 5
Views: 1,891
Posted By BountyX
Forum: C++ Sep 30th, 2005
Replies: 1
Views: 1,774
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: 3,970
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,205
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,293
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,916
Posted By BountyX
thnx I got it
Forum: C++ Sep 25th, 2005
Replies: 4
Views: 1,916
Posted By BountyX
yeah...how would i feed the processor raw binary in C/C++ ?
Forum: C++ Sep 25th, 2005
Replies: 4
Views: 1,916
Posted By BountyX
Is it possible to tell a processor to run raw binary code?
Forum: Game Development Sep 25th, 2005
Replies: 0
Views: 5,060
Posted By BountyX
Is it possible to distribute cideo processing by hooking the DirectX dll? I'm trying to prarralell process video over a LAN.
Forum: C++ Aug 26th, 2005
Replies: 2
Views: 4,306
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: IT Professionals' Lounge Aug 9th, 2005
Replies: 21
Views: 11,734
Posted By BountyX
It's actually cheaper to have your headquarters in delaware and operate in another state (most of the time).

The "registered agent" services are really cheap, like 150$ a year. All mail sent to...
Forum: Game Development Aug 8th, 2005
Replies: 9
Views: 5,802
Posted By BountyX
If you are working in the linux environment I reccomend using an API such as Qt (for KDE) and gtk+ (for GNOME).

These APIs will allow you to easily have access to opengl functionality (you can...
Forum: IT Professionals' Lounge Aug 8th, 2005
Replies: 21
Views: 11,734
Posted By BountyX
Register in one state. I like deleware. You will need a valid business adress for the headquarters and to file your state taxes, etc. There are businesses that you pay yearly to act as your...
Forum: C++ Jun 4th, 2005
Replies: 3
Views: 2,538
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: 49
Views: 63,233
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,262
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: Web Development Job Offers May 25th, 2005
Replies: 0
Views: 1,981
Posted By BountyX
I am looking for skilled C/C++ developers at entry level positions for an IT consulting corperation. If you are a good coder, there is a high chance of a better position.

I pay by the hour, you...
Forum: Game Development Apr 29th, 2005
Replies: 3
Views: 2,679
Posted By BountyX
are you doing it in opengl? or is it like turtle graphics
Forum: C++ Apr 25th, 2005
Replies: 1
Views: 2,331
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,569
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,260
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: 7,858
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,705
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,142
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,705
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: 5
Views: 10,125
Posted By BountyX
The differences are highlighted at this site: http://www.objsw.com/docs/as_196.html

Good luck!
Forum: C++ Apr 19th, 2005
Replies: 54
Views: 74,599
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: 2
Views: 2,179
Posted By BountyX
Use a vector of type CPoint instead of a CPoint array.


#include <vector>
/* Only uncomment if its not already there */
//using namespace std;
....
void CProject5View::OnDraw(CDC* pDC)
{...
Forum: C++ Apr 19th, 2005
Replies: 21
Views: 30,498
Posted By BountyX
People on ebay sell used versions of MSVC for even less.
Forum: C Apr 6th, 2005
Replies: 5
Views: 1,956
Posted By BountyX
Are the images dynamically loaded or static (resource)? What image format are you using for the images?
Forum: C Mar 17th, 2005
Replies: 2
Views: 2,040
Posted By BountyX
Hey i have a tic tac toe program I can send you if you would like an example to work off of. Just give me a PM if your intrested.
Forum: Java Mar 10th, 2005
Replies: 4
Views: 3,696
Posted By BountyX
hmm im not sure to what extent java can utilize the windows api so I'm not exactly sure how to tackle this one in java. In C/C++ however, using the windows api you can grab the windows HWND, then...
Forum: Java Mar 10th, 2005
Replies: 2
Views: 2,342
Posted By BountyX
why complicate things?

import java.text.NumberFormat;

.......
static String insertCommas(int num)
{
return NumberFormat.getInstance().format(num);
}
Forum: C Mar 5th, 2005
Replies: 23
Views: 6,413
Posted By BountyX
you need to #include <stdio.h> too
Forum: C Mar 5th, 2005
Replies: 23
Views: 6,413
Posted By BountyX
CString CHexcalcDlg::ConvertDecToHex(int number_in)
{
return ltostr(number_in,16);
}


rewrote the whole function give that a try.
don't forget
#include <stdlib.h>
Forum: C Mar 5th, 2005
Replies: 23
Views: 6,413
Posted By BountyX
i've updated my post on that response, check it out. The spaces thing was a typo, it wasn't the intent of my focus. The point is you are passing in a value to str_out then immedietly deleting that...
Forum: C Mar 5th, 2005
Replies: 23
Views: 6,413
Posted By BountyX
sorry to confuse you, its hard to explain let me show you:

void CHexcalcDlg::ConvertDecToHex(CString& str_out, int number_in)
{
int index = 4;
str_out = " ";
char chr;
while(number_in...
Showing results 1 to 40 of 219

 


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

©2003 - 2009 DaniWeb® LLC