Forum: C++ Feb 25th, 2008 |
| Replies: 12 Views: 974 Re: Turboc++ I havent heard of Turbo Explorer. Is it good? I mean can we use the graphics functions in it? |
Forum: C++ Feb 25th, 2008 |
| Replies: 12 Views: 974 Re: Turboc++ I am sorry as I by mistake posted the same thing twice! |
Forum: C++ Feb 25th, 2008 |
| Replies: 12 Views: 974 Re: Turboc++ When you use BGI functions like setcolor(), circle(), line(); under borland C++ Win API it does not accept.
I have tried it many times.
The error message is as follows
BGI not supported under... |
Forum: C++ Feb 24th, 2008 |
| Replies: 4 Views: 1,215 Re: The Fork command The Fork Command has been extensively discussed before in this forum, Please search for that post. |
Forum: C++ Feb 24th, 2008 |
| Replies: 4 Views: 404 Re: Opening a file whilst running program? The ofstream class is used to open a file. While opening a file we generally provide only the name of the file, so the program searches for that name in the same folder.
You can also provide the... |
Forum: C++ Feb 24th, 2008 |
| Replies: 16 Views: 1,880 Re: problem with seekg Yeah I agree with vijayan. File pointers like seekg(),tellg() work correctly only with Binary Files where the read() and write() functions are used. |
Forum: C++ Feb 24th, 2008 |
| Replies: 12 Views: 974 Re: question I can help you. I have been using Turbo C++ and Borland C++ for the past 2 years.
However please note that you cannot use Turbo C++ to output any sort of graphics as BGI graphics is not supported in... |
Forum: C++ Nov 25th, 2007 |
| Replies: 3 Views: 4,940 Re: Editing Windows Registry but the thing is it edits reads only strings... I want to read a value which has binary values.... How do I do that? |
Forum: C++ Nov 25th, 2007 |
| Replies: 3 Views: 4,940 Re: Editing Windows Registry I got the following source from the internet... but I don't know how to manipulate it for my convience
#include <windows.h>
#include <iostream>
int main () {
HKEY hKey; // Declare a key to... |
Forum: C++ Nov 25th, 2007 |
| Replies: 3 Views: 4,940 Editing Windows Registry I want to create a C++ Program to edit the Windows Registry. For example to change the home page of internet explorer. But I don't know how to read or edit the help.
I am doing this program just for... |
Forum: C++ Oct 24th, 2007 |
| Replies: 9 Views: 2,580 |
Forum: C++ Oct 21st, 2007 |
| Replies: 9 Views: 2,580 |
Forum: C++ Oct 21st, 2007 |
| Replies: 9 Views: 2,580 |
Forum: C++ Oct 21st, 2007 |
| Replies: 9 Views: 2,580 |
Forum: C++ Oct 17th, 2007 |
| Replies: 9 Views: 2,580 Running C++ program in the background I am making this program which checks if your floppy drive is ready or not. And so it has to check for say 20 seconds. And for this I want the program to run in the background. How do I do this?
I... |
Forum: C++ Aug 25th, 2007 |
| Replies: 5 Views: 1,845 |
Forum: C++ Aug 15th, 2007 |
| Replies: 1 Views: 302 Re: projects Maybe you could do a game or any database program.
For example a airway reservation program |
Forum: C++ Aug 15th, 2007 |
| Replies: 14 Views: 2,040 |
Forum: C++ Aug 14th, 2007 |
| Replies: 17 Views: 1,081 |
Forum: C++ Aug 13th, 2007 |
| Replies: 17 Views: 1,081 Re: c++ files I think it is better you do this
struct getname
{
char name[25];
};
int main()
{ |
Forum: C++ Aug 13th, 2007 |
| Replies: 17 Views: 1,081 Re: c++ files The code you wrote just opens the file if it is available but does not create a new one.
Use this to create a new text file
#include<iostream.h>
#include<fstream.h>
int main()
{
fstream... |
Forum: C++ Aug 12th, 2007 |
| Replies: 14 Views: 2,040 Re: Introduce mouse support in C++ programs INT 16,1 - Get Keyboard Status
INT 16,2 - Read Keyboard Flags
Could you give me the syntax to use them? Is it something like this
int16(2,&in,&out);
I don't know much about assembly language. |
Forum: C++ Aug 10th, 2007 |
| Replies: 14 Views: 2,040 Re: Introduce mouse support in C++ programs INT 5 - Print Screen
Does this do something like screen capture?
Because since my program is DOS based program none of the screen capture programs seem to work. And I need to show screen shots of my... |
Forum: C++ Aug 10th, 2007 |
| Replies: 14 Views: 2,040 |
Forum: C++ Aug 9th, 2007 |
| Replies: 2 Views: 2,446 |
Forum: C++ Aug 6th, 2007 |
| Replies: 14 Views: 2,040 Re: Introduce mouse support in C++ programs The link also mentioned something about displaying images. But it didn't explain it well.
I downloaded the file from the site but the code didn't mention anything related to that.
Could you... |
Forum: C++ Aug 6th, 2007 |
| Replies: 14 Views: 2,040 Re: Introduce mouse support in C++ programs Very useful site you mentioned above. Actually I also did a search and got a similar tutorial. It works beautifully. But I haven't yet tried with a USB mouse.
Thanks for the link |
Forum: C++ Aug 6th, 2007 |
| Replies: 14 Views: 2,040 |
Forum: C++ Aug 4th, 2007 |
| Replies: 14 Views: 2,040 |
Forum: C++ Aug 3rd, 2007 |
| Replies: 19 Views: 1,682 Re: What are forks???? When I use the header file #include<unistd.h>
It says the compiler cannot read the file.
I tried compiling it in DEV C++ it gave me a error message that fork() was not initialized. |
Forum: C++ Jul 25th, 2007 |
| Replies: 30 Views: 3,922 Re: Chess Program I have finished my chess program. I defined some rules but couldn't code in all the rules. |
Forum: C++ Jul 21st, 2007 |
| Replies: 30 Views: 3,922 |
Forum: C++ Jul 21st, 2007 |
| Replies: 30 Views: 3,922 Re: Chess Program I asked my friends they said that
board[64][4] would work.
there would 64 boxes in the board and each would store a string of 3 characters. |
Forum: C++ Jul 20th, 2007 |
| Replies: 30 Views: 3,922 |
Forum: C++ Jul 19th, 2007 |
| Replies: 19 Views: 1,682 Re: What are forks???? I read that forks can used to call another executable. Suppose I have two programs prog1 and prog2.
Suppose prog1 has the fork code and calls prog2, once prog2 is over will the control return to... |
Forum: C++ Jul 19th, 2007 |
| Replies: 30 Views: 3,922 |
Forum: C++ Jul 18th, 2007 |
| Replies: 19 Views: 1,682 Re: What are forks???? So as a beginner in my C++ programming can I use them to split two process one for writing data into a file and another to read another file? |
Forum: C++ Jul 18th, 2007 |
| Replies: 30 Views: 3,922 Re: Chess Program yeah but the thing is everywhere I had used a char variable, so it would be difficult changing them all. Anyway I got an idea. I will copy the contents of the char to a string.
And then output it. |
Forum: C++ Jul 17th, 2007 |
| Replies: 30 Views: 3,922 Re: Chess Program How do you output a character in graphics mode?
I mean outtextxy(); outptuts only strings. Is there a function to output a single character? |
Forum: C++ Jul 15th, 2007 |
| Replies: 19 Views: 1,682 |