User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
DaniWeb is a massive community of 402,775 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,680 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Showing results 1 to 40 of 218
Search took 0.02 seconds.
Posts Made By: BountyX
Forum: C++ Feb 9th, 2006
Replies: 8
Views: 4,146
Posted By BountyX
Re: Trying to use c++ to print to a usb printer

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,255
Posted By BountyX
Re: Overflow of Content

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,255
Posted By BountyX
Overflow of Content

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,542
Posted By BountyX
Forum: C++ Sep 29th, 2005
Replies: 1
Views: 1,294
Posted By BountyX
Re: Which Form event to use to clean up before shutting down?

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, LPARAM...
Forum: C++ Sep 29th, 2005
Replies: 3
Views: 2,557
Posted By BountyX
Re: Making a MUD

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 further...
Forum: C++ Sep 29th, 2005
Replies: 8
Views: 8,976
Posted By BountyX
Re: Command-line argument syntax

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 Visual...
Forum: C++ Sep 26th, 2005
Replies: 1
Views: 3,551
Posted By BountyX
Re: Sending keys to active window.

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 that...
Forum: C++ Sep 26th, 2005
Replies: 4
Views: 1,183
Posted By BountyX
Re: Binary Code

thnx I got it
Forum: C++ Sep 25th, 2005
Replies: 4
Views: 1,183
Posted By BountyX
Re: Binary Code

yeah...how would i feed the processor raw binary in C/C++ ?
Forum: C++ Sep 25th, 2005
Replies: 4
Views: 1,183
Posted By BountyX
Binary Code

Is it possible to tell a processor to run raw binary code?
Forum: Game Development Sep 25th, 2005
Replies: 0
Views: 3,710
Posted By BountyX
DirectX Hook

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 25th, 2005
Replies: 2
Views: 2,187
Posted By BountyX
Re: Processing tiff files

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 Careers and Business Aug 9th, 2005
Replies: 21
Views: 10,065
Posted By BountyX
Re: Registering a new company?

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 your...
Forum: Game Development Aug 8th, 2005
Replies: 9
Views: 4,261
Posted By BountyX
Re: PLotting a map/graph

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 read...
Forum: IT Careers and Business Aug 8th, 2005
Replies: 21
Views: 10,065
Posted By BountyX
Re: Registering a new company?

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,128
Posted By BountyX
Re: openGL problem

What compiler are you using?

OpenGL is not standard with all compilers. You may have to download it.
Forum: C++ Jun 2nd, 2005
Replies: 40
Views: 37,329
Posted By BountyX
Re: C++ Performance Tips

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: 4,144
Posted By BountyX
Re: Separate C and C++ forum?

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,675
Posted By BountyX
Skilled C/C++ Developers

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: 1,897
Posted By BountyX
Re: Inheritance Project ..

are you doing it in opengl? or is it like turtle graphics
Forum: C++ Apr 25th, 2005
Replies: 1
Views: 1,950
Posted By BountyX
Re: Displaying records

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 the...
Forum: C++ Apr 25th, 2005
Replies: 3
Views: 8,026
Posted By BountyX
Re: How to create "turtle Graphics" program using C

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 the...
Forum: C++ Apr 25th, 2005
Replies: 6
Views: 1,876
Posted By BountyX
Re: OpenGL

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: 6,217
Posted By BountyX
Re: Link assembly with C++

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: 2,764
Posted By BountyX
Re: Controlling Hardware

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: 11,528
Posted By BountyX
Re: struct array and enum problems

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: 2,764
Posted By BountyX
Re: Controlling Hardware

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...
Forum: C Apr 19th, 2005
Replies: 5
Views: 7,364
Posted By BountyX
Re: Using Assembly Codes in Bloodshed Dev-CPP

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: 50,653
Posted By BountyX
Re: C and C++ Timesaving Tips

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: 1,609
Posted By BountyX
Re: Help using an Array

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: 18,454
Posted By BountyX
Re: Best C Compiler?

People on ebay sell used versions of MSVC for even less.
Forum: C Apr 6th, 2005
Replies: 5
Views: 1,673
Posted By BountyX
Re: Using sprites...

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: 1,735
Posted By BountyX
Re: Continued Tic Tac Toe help

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 9th, 2005
Replies: 4
Views: 3,072
Posted By BountyX
Re: Loading a Java String into a TextArea in an External Application - Please Help

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 9th, 2005
Replies: 2
Views: 1,776
Posted By BountyX
Re: number formatting using recursion

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: 5,051
Posted By BountyX
Re: new to windows apps

you need to #include <stdio.h> too
Forum: C Mar 5th, 2005
Replies: 23
Views: 5,051
Posted By BountyX
Re: new to windows apps

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: 5,051
Posted By BountyX
Re: new to windows apps

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: 5,051
Posted By BountyX
Re: new to windows apps

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 > 0); ...
Showing results 1 to 40 of 218

 
All times are GMT -4. The time now is 9:29 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC