Would you be able to give me an example? :\
// Kavity
Type: Posts; User: Kavity
Would you be able to give me an example? :\
// Kavity
Hrmm... is there anyway to print more than just the first word of a text file using ifstream?
// Kavity
Hey, another question...
Is there a way to have my code run through and if I push a key to change something? But not have it stop and ask for input?(Ex: Getch)
// Kavity
Excellant that does exactly what I wanted! But once I end the program and try to type something in the console (that the program was run in) I can type stuff but it doesn't show up(doesn't write what...
Ok, I have recently found the command setsyx(Which I think will do what I need)... I've read the man pages, but still no matter what my efforts are I cannot get the command to work, would someone be...
Is there a command in linux to goto a certain pixel? Like, bring the cursor to a certain given x,y coordinate... Or even an ANSI command to do it?
Thanks for the help...
// Kavity
...
http://development.freeservers.com/...k/tutorials.htm ... that didn't work for me earlier today :\
// Kavity
I dunno it would be kind of fun ;)
// Kavity
There's only one with a tutorial listed in it, and that tutorial URL won't work... so I was just hoping someone could help me out... :/
// Kavity
This would be an example of a program using switch:
#include <iostream.h>
int main()
{
int nVar;
cout << "Pick a number (1/2)" << endl;
cin >> nVar;
switch(nVar)
Hey, I was just wondering... I was thinking of trying to code a windows console im type program just for fun. But I don't know anything about winsocks yet. Is anyone able to point me towards a...
Heya,
Is there anyway in ANSI C++ to change text color?
(I don't know if this is ANSI or not ... but...) system("color ##");
changes the background color, so just figured I'd check how to change...
Thanks nutshell, I greatly appreciate the suggestions :)
I think I'll try Connect 4...
// Kavity
Good idea... hmm... but I think I may try something else. My tic tac toe game explains the controls at the begginning...
And I wanna try something else anyway ;P
Just need an idea...
// Kavity
Ok, I'll try what you said kirda. Although, I don't know how I would make a seperate screen :|
// Kavity
Hey,
I just coded a tic tac toe game, and now I need to think of what game to code next. (Console) Anyone have any ideas?
// Kavity
Thanks... I've started learningboth.. but...
My background.. .well, I've beenlearning Console (dos) programming for the past 2 years. I got alot of it down... but you can't get everything. I've made...
WinAPI, or OpenGL?: )
// Kavity
heh, thanks, I've read a few books and learned alot, I'm just staarting WinAPI programming, and Dos Game programming(hehehe). And I haven't had to use much math yet. But I was curious about it....
Does C++ really need that much math?
-Kavity
Hi, I was just wondering, I know nothing about Windows programming... but I wanted to make a function for a program that could make it minimize to the system tray. The program is open source, but...
I don't really want to use fopen. The code is already almost written, it makes the directorys. And it's all done by using ofstream. And if I was to use fopen I would have to rewrite the code. I may...
Thanks, but I'd rather not have to use fopen. Is there any other way to do it?
-Kavity
I asked about the mkdir command for dos, now I wanna know if it's possible to copy the file's. like the command copy in dos. If it is please fill me in on what it is.
Thanks
-Kavity
Hello,
I was just wondering, how would I make a direcotry in C or C++ for dos? Like the mkdir command. Just wondering, cause I wanna make a program to help me sort some things.
If you can help,...