Posts
 
Reputation
Joined
Last Seen
Ranked #485
Strength to Increase Rep
+6
Strength to Decrease Rep
-1
80% Quality Score
Upvotes Received
4
Posts with Upvotes
4
Upvoting Members
4
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
3 Commented Posts
0 Endorsements
Ranked #2K
~19.2K People Reached
Favorite Tags
Member Avatar for OmniX

I know the dos command is "shutdown" then with your parameters of "-s -t xxx" etc. Anyways so "How to shutdown your computer using C++?" Thanks, Regards X

Member Avatar for Alex_34
0
2K
Member Avatar for protas

Hi there, Kindly see my attached code below. This is already running however, I do have a little problem with the WITHDRAWAL part. For example: My current balance is 500 and I withdraw 501. It will tell me at first that I have insufficient funds and would prompt me to …

Member Avatar for prushik
0
5K
Member Avatar for Joey_Brown

Hello I have a following line inside a .txt file This$is$my$Input$203 I would like to know whether is it possible only to store the 203 value in variable using fscanf. So without declaring char arrays to store all those strings. I was thinking of something like this ; [CODE]fscanf(fp,"%*[^$]$%*[^$]$%*[^$]$%*[^$]$%d",&number)[/CODE] But …

Member Avatar for Joey_Brown
0
107
Member Avatar for cosmos22

Hi. I was wondering about how you might go about executing a file as you log in to your account. For instance, I want to run a file that prompts the user of the date, and any other information as you log-in. Might I need a registry entry or such? …

Member Avatar for WaltP
0
316
Member Avatar for mark0420

plz teach me how to create a role playing game using c++ or any programming language?

Member Avatar for vxp
0
276
Member Avatar for prushik

Hello everyone I am trying to learn about the compilation process. I am working on a pretty simple SDL game, but I know that making games isn't very practical, so I am using the project to learn about other programming aspects as well. One of the things I am trying …

Member Avatar for Banfa
0
198
Member Avatar for prushik

I have written a program for a linux box running on a davinci (arm processor). The program communicates with a server over the lan, calls some scripts, and delays different amounts of time depending on what the server tells it to do. It all works great, most of the time. …

Member Avatar for prushik
0
252
Member Avatar for mapla

[code] #include <stdio.h> main() { int number; int ch; char sh[100]; int i=0,j=0; printf("input No in Hex: "); scanf("%s",&sh); number = 0; i =strlen(sh); j=0; while(i!=0) { ch = sh[j]; printf("Ch:%d\t%d\t%d\n",ch,'7',ch-'7'); if(('0' <= ch && ch <= '9')) { number = number * 16; printf("Number :%d\n",number); number = number + …

Member Avatar for prushik
-2
160
Member Avatar for prushik

I am trying to write a TFTP server. I have successfully completed the code, it is fully RFC 1350 compliant. However, I wrote the whole thing in Haiku OS, and in Haiku, it works great. However, I also need a DHCP server, and I don't have one for Haiku. So …

Member Avatar for prushik
0
236
Member Avatar for prushik

I recently decided to take a chance and install some unstable upgrades (I love unstable things). So I upgraded many of my applications via apt-get. One of the big things I upgraded was libc6. I think that my be the issue, not sure. After the upgrades, I had many many …

Member Avatar for celina23
0
225
Member Avatar for Darkangelchick

Hey guys I'm using Linux and I'm having trouble with Open Office. This is the first time it has happened. I try to open a file saved with open office and its coming up with translation stuff like western europe (Applemac) and stuff. What has happened and how can I …

Member Avatar for Darkangelchick
0
135
Member Avatar for sat4ever0606

i want 2 kno how to install lan in debian 4... i dint give it at the installation time.... also seperate drivers required 4 it?

Member Avatar for prushik
0
114
Member Avatar for nikhil.laghave

Hello, I am a newbie and do not have any shell script experience. I am trying to call a script from inside a fortran call using the call system(./script). Now this script runs ok when run from command line, but when called from the fortran call, i get errors for …

Member Avatar for masijade
0
114
Member Avatar for prushik

I wrote a shell script that checks the command line arguments for the "-i" flag. I designed it to run from inside my gui application. I tested my script from the terminal and it runs perfectly, does just what I want and expect. So I ran my gui (which needs …

Member Avatar for prushik
0
161
Member Avatar for 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 am using Borland C++ and Turbo C++

Member Avatar for EZO
0
1K
Member Avatar for prushik

I would like to know once and for all how to convert a double to a const char* I've tried it a few times, but have never succeeded, I know it can be done, but I haven't figured out how to yet. I've tried some different things. Sometimes it won't …

Member Avatar for Seta00
0
2K
Member Avatar for prushik

I have written a few games in C++ with OpenGL, and I am working on another one now, its my biggest project. Everything works really great on my computer, but whenever I move my executable to another computer, the depth testing completely stops working. I have no idea what causes …

Member Avatar for jephthah
0
127
Member Avatar for prushik

Basically I want to set up a 3-dimensional array, but I want to dynamically allocate memory for it. Say I read 3 variables from a file, all ints: f, s, and v. i want to allocate memory for array[f][s][v] array is part of a struct How would I go about …

Member Avatar for dougy83
0
85
Member Avatar for jeffige

Is there any way to get rid of the "Press any key to continue" in the Dos window.:-/ I am using DevC++ ver. 4.9.8 It gets alittle annoying after awhile. And yes, I am new to programming.

Member Avatar for jeffige
0
194
Member Avatar for <1337>Me</1337>

I was thinking that when I have an advanced knowledge of c++, I would try and make a 1st person shooter. I was thinking like the next Counter Strike type of thing (in my dreams). But is this an ambitious thing to do?

Member Avatar for Tsuruya-san
0
219
Member Avatar for jer_stud56

Everything compiles, but after I input I just get an infinite loop. Is there something I can do differently to make it not loop? [code] #include <iostream> #include <iomanip> #include <string> using namespace std; // Program Description // This program will calculate test results for // a set of test …

Member Avatar for jer_stud56
0
85
Member Avatar for piers

Something I have noticed with my uni course is that there are so few women on it. Is there some reason why women stay away from the best part of using a computer IE programming in java? am I a bit strange in getting excited when I finally finish a …

Member Avatar for neocoder
0
340
Member Avatar for kanoshy

Hi. Can I have your opinions and suggestions for my game? [url]http://www.4shared.com/file/36218423/a58f8b1c/kanoshy55.html[/url]

Member Avatar for beefstick720
0
106
Member Avatar for Sgt. Pepper

OK, hes a list of the things I've used: Premade Engines (I dont know what the program thing is called) Torque Game Engine 3d Game Studio 3D Editing Programs GMax 3DSMax a little Milkshape Porgramming starting C++ 2d Graphics Correl Photoshop Game Making Programs RPG Maker2k Game Editing Programs TES …

Member Avatar for Sgt. Pepper
0
130
Member Avatar for prushik

What is the easiest way to get a user input string (char array) from within an OpenGL program? It doesn't have to look good, this is just for debugging purposes. Thanks.

Member Avatar for prushik
0
85
Member Avatar for prushik

ok, here is my problem. I am using sprintf to write a formatted string. That works fine. it looks like this:[CODE=C++] sprintf(buffer, "%f,%f,%i,%f,%f", user.x, user.y, user.dir, user.xspeed, user.yspeed);[/CODE] where user is a struct x is a float y is a float dir is a short int xspeed is a float …

Member Avatar for mitrmkar
0
154
Member Avatar for rickykoh1983

Hi. I have a program that allows users to enter their information. After they have entered their information and clicked on submit, the program will create another exe file so that when the user opens the exe file, they will be able to see their information. How can I create …

Member Avatar for RamPrasad710
0
220
Member Avatar for TheBeast32

Hi, I have been making a program that searches in another process's memory for a value from the user. It works, but it's [B]very[/B] slow. I have used other searchers like TSearch that are really fast. If anyone has a way to make it faster, please help.:-/ Here's my code …

Member Avatar for TheBeast32
0
316
Member Avatar for CoolGamer48

I'm trying to make my game pause if the user presses the 'P' button, and then unpause again with the P button. The pausing works when it's only pausing: [CODE]game_state = PAUSED;[/CODE] I've currently tried the following with pausing and unpausing - none have worked: [CODE]switch(game_state) { case RUNNING: { …

Member Avatar for prushik
0
361
Member Avatar for prushik

I am using bloodshed dev-c++ ide. Win XP Media Center Edition. I am trying to learn how to use winsock, I have compiled a very simple (and very sloppy) little winsock application with the help of like 3 or 4 different tutorials the client sends a hard coded string to …

Member Avatar for prushik
0
49