49,761 Topics

Member Avatar for
Member Avatar for iamboredguy

I have this project to do and I want to use coloured text and some simple shapes, etc. But the problem is that my compiler does not support graphics.h or dos.h. Even my tclite doesn't (I usually use BC5 windows version). Is there any way of correcting this problem? Or …

Member Avatar for vegaseat
0
157
Member Avatar for aripaka

Hi, I am new to this forum and this is my first message. I want to know can we accesss a database though C or C++. Are there any library files as such for the same. Its nice to see that there is a lot of knowledge sharing in this …

Member Avatar for proghelper
0
251
Member Avatar for SpS

Having return types of constructor means taking address of constructor(which is illegal)...can u explain me this....

Member Avatar for Narue
0
340
Member Avatar for sara.rythm

Hello Everyone, This is my first day here. I've not browsed the site yet. But I wanted to know the answer of these questions. I'd be glad if anyone of you can help me. 1.Write a C++ program without using any loop (if, for, while etc) to print numbers from …

Member Avatar for Dave Sinkula
0
938
Member Avatar for evilsilver

hey all, i am programmin in c++ (just so we are all on the same page lol) and using Borland compiler 3. ok here's my problem, i know how to open a file and save variables to it in order to save them for future program reference but i can't …

Member Avatar for Ancient Dragon
0
83
Member Avatar for Somfy

Hello, this is my first post ever sow please don't kill me right away but I am looking for some code to get started with ... I am a hardware guy :o but I would like to start using my basic knowledge on C++ for one of my personal project …

Member Avatar for Somfy
0
123
Member Avatar for ramcfloyn

Hello I'm interested in manipulating a *.tif file using C++. I am aware of libtiff which features library files and utilities for tiff manipulation but this seems largely C based and also i'm having trouble setting up the environment in borland builder 6. Does anyone have any other alternatives to …

Member Avatar for ramcfloyn
0
126
Member Avatar for kokopo2

Hi guys, do any of u know how to extract a certain amount of bits from a parameter(instruction) and return the bits as a integer in a range . for example i would like to extract the opcode field i would extract from bits 31 to 26. but if i …

Member Avatar for Dave Sinkula
0
1K
Member Avatar for shashankk

Can anyone pl. mail turbo c++ setup as attachment to << moderator edit: email snipped >>

Member Avatar for kc0arf
0
383
Member Avatar for leonn

i gat a mmogame called RF online but the game is in korean some pp translated a little of it but i wont to know how to do it so i can finsh it its a EDF file and i wont to add more maps to the server becouse the …

Member Avatar for kc0arf
0
97
Member Avatar for Sembiance

Hi folks :) I've been working on a C/C++ Source Code search website for over a year now, and just thought I'd let you all know that I put recently. It allows you to search over 136 million lines of open source C/C++ source code. It actually understands C/C++ syntax, …

Member Avatar for Sembiance
0
103
Member Avatar for bops

hi again people, im working on a simple program to look into a text file and output details about it. It seems to work fine for the first part but at the end of a while loop the code seems to stop working, i have had a little play about …

Member Avatar for bops
0
251
Member Avatar for Busted

:confused: Could any one justify why is the result of the following code 100 100 100 99 99?? main() { static int arr[]={97,98,99,100,101,102,103,104}; int *ptr=arr+1; print(++ptr, ptr--, ptr ,ptr++ ,++ptr); } print( int *a, int *b, int *c, int *d, int *e) { cout<<*a<<" "<<*b<<" "<<*c<<" "<<*d<<" "<<*e<<endl; }

Member Avatar for Ancient Dragon
0
92
Member Avatar for neologic

[code] class String { char* pData; public: String(); //default constructor ~String(); //default destructor String( String&); //copy constructor const String& operator=( String&); //overloaded assignment operator void operator==( const String&); //overloaded compare operator String operator+( String); //overloaded concat operator void operator[]( int); //index operator String( char*); //one argument operator char* GetBuffer() { …

Member Avatar for Stoned_coder
0
121
Member Avatar for JuanPabloD

I am trying to write a program to perform the laguerre method of finding roots of polynomials. To get me started i have found various texts to help. One of the texts demonstrates code for a very similar problem however it uses an undefined function 'laguer'. Is this a function …

Member Avatar for Ancient Dragon
0
145
Member Avatar for iamthwee

Hi guys i have abadoned my ofther assinement becoz it woz 2 hard to learn classes and i stil need 2 learn a function proberly.my teacher said if i not understand functions yet then i wait to learn classes. tank u again 4 your help. Now i need to do …

Member Avatar for iamthwee
0
221
Member Avatar for cjm771

ok so last time I was here, I was programmin tic-tac-toe and its great. Now I have programmed hangman! :D . Anyways right now its for two players only. So I want it so the computer will choose a random word from a text file and assign that to my …

Member Avatar for cjm771
0
4K
Member Avatar for winbatch

Here's what I'm trying to do: create an empty/NULL char * in one place, pass it to a function who will populate it (and tell me the size), and then use the char * elsewhere. However, when I get out of the function.. Here's the function that expects the char …

Member Avatar for Narue
0
270
Member Avatar for vancasas
Member Avatar for charlie_help

I want to fetch data from SQL Server 2000 using tcp/ip connection and display on the client. Q : How do i fetch data from SQL Server 2000 and put the data on a combo box. Q: My server user interface will have "Fetch" button ? Client User Interface: [code]___________________________ …

Member Avatar for charlie_help
0
237
Member Avatar for Sutanu

[FONT=Trebuchet MS]Dear all: I've created TCPsocket in linux using C++. It receives an array of unsigned characters. I need the corresponding hex values in character format. i.e. "ABC" in hex it is "414243". Now I want to treat each of "414243" as character. So I have done the coding as …

Member Avatar for Sutanu
0
2K
Member Avatar for iamthwee

Hi everione, my next assinement is 2 do with classes. I dun no what they are tho and why u will use them? Can any1 explain them to me I would B greatfull. God bless. :o

Member Avatar for proghelper
0
379
Member Avatar for sleevetrick

hi. can anyone tell me how to disable blinkin cursor from my WIN32 console Application. i have created a console app.. using vc++ but i see the cursor blinkin all the time which is not what i want. please help thanks in advance.

Member Avatar for sleevetrick
0
1K
Member Avatar for Mahen

do you know of any api in c++ that could give me time in this format: hh:mm:ss I used strtime in lccwin32 but it is not compatible with other compilers

Member Avatar for vegaseat
0
172
Member Avatar for charlie_help

I want to fetch data from SQL Server 2000 using tcp/ip connection and display on the client. Q : How do i fetch data from SQL Server 2000 and put the data on a combo box. Q: My server user interface will have "Fetch" button ? Client User Interface: ___________________________ …

0
106
Member Avatar for Drowzee

My project continues... But at least I'm getting better at using C/C++ and MFC. Now, I'm at a critical point: dynamic memory allocation fundamentals. I have a data class with a number of unsigned char arrays and longs that are addressed in structs (encapsulated by the class). I'd like to …

Member Avatar for Ancient Dragon
0
309
Member Avatar for thiru.y

Hi I am using the dev c++ compiler can somebody please guide me as tohow I should integrate libtiff and its associated header files with the c++ compiler .I am on a deadline so any help would be greatly appreciated. Can somebody also be kind enough to run this code …

Member Avatar for Ancient Dragon
0
608
Member Avatar for johnroach1985

Hi hope i am writing in right section of the forum trying to create a registry for my C program which has an .exe . want to work on windows start. The program is a kind of firewall program closes ports and opens them only if they are opened from …

Member Avatar for johnroach1985
0
196
Member Avatar for mugilan

what about this question.........what is a default comstructor? how are an object's data members initialized if a class has only an implicitly defied default constructor? explain the purpose of data member. << moderator edit: split thread (was a reply to [thread=15829]this[/thread]) >>

Member Avatar for nattylife
0
1K
Member Avatar for BioTechNoob

I’m having trouble entering data from a file into an integer and character array. Basically, in this file, some the data I want transferred into a character array. Other parts, I want transferred into an integer array. I am able to get data into the arrays, and the char array …

Member Avatar for Ancient Dragon
0
291

The End.