15,551 Topics

Member Avatar for
Member Avatar for FireNet

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 …

Member Avatar for FireNet
0
159
Member Avatar for dirs

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???

Member Avatar for BlackDice
0
130
Member Avatar for keir.whitlock
Member Avatar for marceta

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 …

Member Avatar for marceta
0
292
Member Avatar for AmericanD

[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 …

Member Avatar for AmericanD
0
156
Member Avatar for skywing

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 …

Member Avatar for BountyX
0
112
Member Avatar for liliafan

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 …

Member Avatar for liliafan
0
245
Member Avatar for raybulba

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 …

Member Avatar for vesselin
0
183
Member Avatar for ScriptBoy

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 !

Member Avatar for liliafan
0
90
Member Avatar for MrCool

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 …

Member Avatar for BountyX
0
220
Member Avatar for DanteInHell

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. …

Member Avatar for Dani
0
151
Member Avatar for CocoDan

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 …

Member Avatar for BountyX
1
271
Member Avatar for Cplusstudent1

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

Member Avatar for Cplusstudent1
0
81
Member Avatar for keir.whitlock

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 …

Member Avatar for Dani
0
421
Member Avatar for BountyX

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

0
82
Member Avatar for Dwija

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 …

Member Avatar for neoderf
1
234
Member Avatar for gicio

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 …

Member Avatar for suRoot
0
186
Member Avatar for BountyX

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?

Member Avatar for BountyX
0
136
Member Avatar for machakwa

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

Member Avatar for Creator
0
171
Member Avatar for seeone

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 …

Member Avatar for seeone
1
142
Member Avatar for BountyX

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 …

0
68
Member Avatar for ctlajoie

"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. …

Member Avatar for BountyX
2
413
Member Avatar for imsomehalf

[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 …

Member Avatar for BountyX
2
89
Member Avatar for abhijitajmera

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?

Member Avatar for BountyX
1
132
Member Avatar for Nasimov

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.

Member Avatar for infamous
0
117
Member Avatar for hitek

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.

Member Avatar for infamous
0
98
Member Avatar for dev1l

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 …

Member Avatar for infamous
0
241
Member Avatar for red_evolve

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 …

Member Avatar for infamous
0
227
Member Avatar for hclemson

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 …

0
93
Member Avatar for Lander

I am hoping to implement a 'MS Visio' like application (but much simpler:-| ). I would like to use MFC but am open to suggestions[font=Verdana]. I need a window which I can place bitmaps onto - like in Visio. I have used MFC and know roughly how it works but …

0
98

The End.