Forum: C++ Feb 9th, 2006 |
| Replies: 8 Views: 6,671 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 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 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 |
Forum: C++ Sep 30th, 2005 |
| Replies: 1 Views: 1,774 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 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 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 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 |
Forum: C++ Sep 25th, 2005 |
| Replies: 4 Views: 1,916 yeah...how would i feed the processor raw binary in C/C++ ? |
Forum: C++ Sep 25th, 2005 |
| Replies: 4 Views: 1,916 Is it possible to tell a processor to run raw binary code? |
Forum: Game Development Sep 25th, 2005 |
| Replies: 0 Views: 5,060 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 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 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 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 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 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 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 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 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 are you doing it in opengl? or is it like turtle graphics |
Forum: C++ Apr 25th, 2005 |
| Replies: 1 Views: 2,331 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 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 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 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 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 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 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 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 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 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 People on ebay sell used versions of MSVC for even less. |
Forum: C Apr 6th, 2005 |
| Replies: 5 Views: 1,956 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 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 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 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 you need to #include <stdio.h> too |
Forum: C Mar 5th, 2005 |
| Replies: 23 Views: 6,413 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 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 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... |