49,761 Topics
| |
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 … | |
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 … | |
Having return types of constructor means taking address of constructor(which is illegal)...can u explain me this.... | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
Can anyone pl. mail turbo c++ setup as attachment to << moderator edit: email snipped >> | |
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 … | |
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, … | |
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 … | |
: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; } | |
[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() { … | |
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 … | |
| 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 … |
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 … | |
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 … | |
| |
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]___________________________ … | |
[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 … | |
| 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 |
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. | |
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 | |
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: ___________________________ … | |
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 … | |
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 … | |
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 … | |
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]) >> | |
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 … |
The End.