Search Results

Showing results 1 to 40 of 110
Search took 0.01 seconds.
Search: Posts Made By: krnekhelesh ; Forum: C++ and child forums
Forum: C++ Feb 25th, 2008
Replies: 12
Views: 1,587
Posted By krnekhelesh
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: 1,587
Posted By krnekhelesh
I am sorry as I by mistake posted the same thing twice!
Forum: C++ Feb 25th, 2008
Replies: 12
Views: 1,587
Posted By krnekhelesh
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: 3,797
Posted By krnekhelesh
The Fork Command has been extensively discussed before in this forum, Please search for that post.
Forum: C++ Feb 24th, 2008
Replies: 4
Views: 673
Posted By krnekhelesh
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: 4,335
Posted By krnekhelesh
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: 1,587
Posted By krnekhelesh
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...
Forum: C++ Nov 25th, 2007
Replies: 3
Views: 10,287
Posted By krnekhelesh
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: 10,287
Posted By krnekhelesh
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...
Forum: C++ Nov 25th, 2007
Replies: 3
Views: 10,287
Posted By krnekhelesh
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...
Forum: C++ Oct 24th, 2007
Replies: 10
Views: 5,549
Posted By krnekhelesh
Forum: C++ Oct 21st, 2007
Replies: 10
Views: 5,549
Posted By krnekhelesh
Forum: C++ Oct 21st, 2007
Replies: 10
Views: 5,549
Posted By krnekhelesh
But is it possible to run a C++ program in the background????
Forum: C++ Oct 21st, 2007
Replies: 10
Views: 5,549
Posted By krnekhelesh
I want it to be a DOS based program. I have borland C++ the windows based.
Forum: C++ Oct 17th, 2007
Replies: 10
Views: 5,549
Posted By krnekhelesh
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: 3,925
Posted By krnekhelesh
U could choose whatever you want
Forum: C++ Aug 15th, 2007
Replies: 1
Views: 494
Posted By krnekhelesh
Maybe you could do a game or any database program.
For example a airway reservation program
Forum: C++ Aug 15th, 2007
Replies: 14
Views: 3,148
Posted By krnekhelesh
Can anyone give me the syntax, please?
Thanx in advance
Forum: C++ Aug 14th, 2007
Replies: 17
Views: 1,594
Posted By krnekhelesh
wow, there's so much I have to learn in C++!
Forum: C++ Aug 13th, 2007
Replies: 17
Views: 1,594
Posted By krnekhelesh
I think it is better you do this


struct getname
{
char name[25];
};

int main()
{
Forum: C++ Aug 13th, 2007
Replies: 17
Views: 1,594
Posted By krnekhelesh
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()
{
...
Forum: C++ Aug 12th, 2007
Replies: 14
Views: 3,148
Posted By krnekhelesh
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: 3,148
Posted By krnekhelesh
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...
Forum: C++ Aug 10th, 2007
Replies: 14
Views: 3,148
Posted By krnekhelesh
I went to a site where it mentioned a similar code.


#include<iostream.h>
#include<graphics.h>
union REGS in,out;

void mousecall()
{
in.x.ax = 1;
Forum: C++ Aug 9th, 2007
Replies: 2
Views: 2,926
Posted By krnekhelesh
Game Programming is EASY. Introducing Graphics and mouse support is also simple.
Check out <snipped> for tutorials based on this topic
Forum: C++ Aug 6th, 2007
Replies: 14
Views: 3,148
Posted By krnekhelesh
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: 3,148
Posted By krnekhelesh
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: 3,148
Posted By krnekhelesh
OS - Windows
Compiler - Turbo C++

for a PS2 and a USB mouse.
Forum: C++ Aug 4th, 2007
Replies: 14
Views: 3,148
Posted By krnekhelesh
How do you introduce mouse in c++ program?
Forum: C++ Aug 3rd, 2007
Replies: 19
Views: 2,471
Posted By krnekhelesh
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
Solved: Chess Program
Views: 6,903
Posted By krnekhelesh
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
Solved: Chess Program
Views: 6,903
Posted By krnekhelesh
bench don't bother, I am an idiot . .. misunderstood things...
Forum: C++ Jul 21st, 2007
Replies: 30
Solved: Chess Program
Views: 6,903
Posted By krnekhelesh
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
Solved: Chess Program
Views: 6,903
Posted By krnekhelesh
Sorry, I thought he was ridiculing salem that's it.
Forum: C++ Jul 19th, 2007
Replies: 19
Views: 2,471
Posted By krnekhelesh
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
Solved: Chess Program
Views: 6,903
Posted By krnekhelesh
did anyone ask you bench?
Forum: C++ Jul 18th, 2007
Replies: 19
Views: 2,471
Posted By krnekhelesh
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
Solved: Chess Program
Views: 6,903
Posted By krnekhelesh
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
Solved: Chess Program
Views: 6,903
Posted By krnekhelesh
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: 2,471
Posted By krnekhelesh
Could you explain forks to me?
Showing results 1 to 40 of 110

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC