15,552 Topics
| |
hi people i was wondering how you create a test plan im new to this and just created my 1st c game... need some help as im not sure how to create a test plan preferably in a table. [CODE] /*In order to play the game of craps. each player … | |
How many of you guys belive it is possible to program a server and create within it a simple environment in which people can write their own pieces of code and complie it without problems. This server should be capable of using multiple 'plugins'(the pieces to code which others write … | |
Blackjack class is derived from card class ( see attached playingcard.h and blackjack.h) I have problem with: void blackjack::DealCards() function. I want to use function deal_hands from card class to set the value of pcard1 pcard2, dcard1 and dcard2. How could I do that??? | |
Hi guys, im new to this forum but congratulations, i looks great Im making a game for a TAFE class (which i will gladly send to any1). The game is a text based Role Playing Game. I am finished early so i am going to improve my current game. I … | |
[code]int gcd (int num1, int num2) { int remainder; if (num1 > num2) remainder = num1 % num2; else remainder = num2 % num1; if(remainder!=0) { return gcd(remainder, num1); } return num1; } int gcd2 (int num1, int num2) { int remainder; return ( remainder = ( num1 > num2 … | |
Today I saw a program running in DOS environment but had a XP style ! So far, I can make a "rectangle" window that can move, close,...with C language, but it still looks like Windows 3.1 or so. Therefore I wonder how he (the author) could make such windows and … | |
Hi I am getting an error with some code, it compiles fine on linux but it is throwing an error on solaris, it is to do with strtok_r, the following is the error message: sku_cache.cpp:150: implicit declaration of function `int strtok_r(...)' sku_cache.cpp:150: assignment to `char *' from `int' lacks a … | |
I've tried to use a bunch of example programs that make use of "G2++.h" and "g2_X11++.h" but my compiler complains that I don't have those files! Furthermore I can't find any place where I can download such files. All I can find is the old g2 stuff. Does anyone know … | |
hi, i need to make a small program, which makes a connection to the sybase database running on unix machine. i'm new to this server client programming. pls help ! | |
Hi there, I am currently converting a matlab file to C, and need some help writing the data calculated in 2D arrays to files. This is what i ahve done so far: <snip> File *U; File *V; File *X; File *Y; U = fopen("U.txt", "w"); V = fopen("V.txt", "w"); X … | |
As I've decided to learn how to program, and what language I want to learn (C), I'm now left with a BIG question. Do I need to learn computer theory? I've seen many posts on this forum by people who have taught themselves with books, tutorials, and much hard work. … | |
I own a RD1071 RCA LYRA MP3 player. I was wondering if anyone knew what programming language it uses. The main chip is the STMP3410. It handles everything good. I can update the device with new firmware and I would like to change it a little. The update files are … | |
im trying to make a program that can receive data from a port (ex. USB, Parallel) and then write back to it. i was wondering if anyone could help me out by point me in the right direction as of what to do. :-| thanks | |
hi there, i am trying to get my program to display a different bitmap in four different child windows of my win32 C program but i cant seem to do it. Any idea's? I have got the information so far off of the forgers win32 tutorial. [CODE] #include <windows.h> #include … | |
How do you add those list catagories where when clicked sorts the list? Such a list with the "catagory buttons" can be found in Kazaa, I would liek to implement a similar list in one of my programs. Thnx | |
Hello Members/Administrator I urgently needed help for the following questions as i have very little time in my hand for preparing the interview. ->Why doesn't C have nested functions? ->What is the most efficient way to count the number of bits which are set in a value? ->How can I … | |
Developing, building, and testing. How do it the best? Learning from the world leader - Microsoft I'm very interested in how the developing/build/testing workflow @ Microsoft looks like. I think Microsoft as world leader in software developing business must have a very good workflow. Does anyone know how the development … | |
I want to write a program that will take a screenshot and save it as a jpeg thumbnail with custom compression settings. I have no clue where to start, except for google, which didn't really help. Can somebody point me in the right direction? | |
Could anyone tell me how me to count the frequency of character appear in a paragraphy using c program For example, SHE IS GIRL S appear two time so we output S thanks | |
Hi all, sure hope this is the correct forum for this question.. Not being a C programmer myself, I sure hope someone here can give me some insight into this problem. I have tried to install the Oracle forms./reports toolset on a variety of different Linux distributions, only to encounter … | |
as i laid awake at night staring at the ceiling after hours of coding I started to wonder about a few things that really bugged me: 1) How can I create a function that will utilize custom JPEG compression to output text onto a jpg image file? Does anyone know … | |
"difference patching" is my word for the method used by patch makers that take only the differences in two files, and apply them to a patch file. RTPatch is an example of a program that does this. I've been trying to create one myself, but I'm stuck on the logic. … | |
[color=#0000ff]hey folks,[/color] [color=#0000ff] I need to create a VxD to capture all file calls made to/on a Windows 2000 server machine. The file calls will then be sent to a VB program on the desktop.[/color] [color=#0000ff] But I have absolutely no idea of how to create a VxD or how … | |
I am trying to print object hierarchy of the instance of a class when there is an error. I need this in order to print the source of error besides the error message. Do you know of any way to achieve it? | |
Hello, I need to make a FTP class to upload some info onto the net. I would appreciate any links to tutorials or examples. Thanks. | |
Would anyone know how to interpret CSSM_PROC_ADDR and ISL_FUNCTION_PTR after the typedefs in this freely distributed CDSA code? 1. #define CSSMAPI typedef void (CSSMAPI *CSSM_PROC_ADDR) (); 2. typedef void (*ISL_FUNCTION_PTR)(void); Thanks. | |
Hi there,I'm having a problem with calling an object member function of a class 'Fraction'. Particularly the Fraction addTwoFraction,mult.div,etc.I've included the code i've worked on and in it you'll see i've put 3 instances of where i'd like atleast your thoughts on it. The first is in callingEnviron(defined right after … | |
Hi. Can anyone help me to distinguish the reason behind this case? Thanks a lot. I initialized the following variable: `unsigned char temp=0;` In the following statement block, I managed to get the results that I wanted to be displayed on the first go (traversing the while loop on the … | |
Hello I am using a TImage componet from Borland Builder 6, i am trying to take a copy of this image at run time. I have created a new TBitmap object and tried to assign it to that, but of course they are incomatible. Are there any type casting methods … |
The End.