49,761 Topics

Member Avatar for
Member Avatar for ravinderreddy

want to capture the system idle time. Means if the user did not press any key or did not move the mouse then it is considered as system idle time. I want the code for this in C or C++ on windows operating system. Please help me.

Member Avatar for mohit_mar
0
741
Member Avatar for honeybleak

:confused: HI, I need to create a program which tests whether within a range given by the user, there exists an extreme of quadratic function (y=ax2+bx+c). The parameters (a,b,c) of this function are given by the user. I just started it but I have a problem in completing it. This …

Member Avatar for soxers12
0
469
Member Avatar for mohit_mar

I want to capture the system idle time. Means if the user did not press any key or did not move the mouse then it is considered as system idle time. I want the code for this in C or C++ on windows operating system. Please help me. It's urgent.... …

Member Avatar for Salem
0
275
Member Avatar for Tester99

hi !!! i try to compile program and it follows errors.............Fatal:Access Violation. Program terminated Error: internal failure Fatal:Access Violation. Program terminated If anyone can help me i would be very grateful. Thank you

Member Avatar for Salem
0
173
Member Avatar for Cool Nanu

Please help me with my problem.I have created a prog in C++ for use in a librar. But there are certain errors in it that i am not able to understand can u please correct this program for me.:rolleyes: This is my "till now" Program. [PHP]#include<stdio.h> #include<conio.h> #include<io.h> #include<fcntl.h> #include<string.h> …

Member Avatar for Cool Nanu
0
211
Member Avatar for Te'DDy

hi, I set an array for making each chat in random that appear for my anagram game.But when it appear some of my char are the same wth other one.So it was useless. EX like that j h o p j n w g n o i e in here …

Member Avatar for iamthwee
0
321
Member Avatar for pabarnes

[COLOR=#000000]Start[/COLOR] [COLOR=#000000]Get all the names of directors from the library into [B]directorlist[/B] [/COLOR] [COLOR=#000000]For each director in the directorlist do steps 4 to 7.[/COLOR] [COLOR=#000000]Start a new page and print “Movies directed by <director name>

Member Avatar for tayspen
0
201
Member Avatar for jasda2

Hello, I'm kinda new to C++ so I need some help. I've written this program and now I need it modified to possibly do the following... Output every 4th letter from the string or Count the occurrences of different letters. This is simple, basic C++ using Microsoft Visual C++ 1.52 …

Member Avatar for Dave Sinkula
0
184
Member Avatar for tydruk

[B]homework(original function names in () )[/B] i have done most of the job allready, but i can't seem to make it do exactelly what the program should. My job is to make a program that asks numbers of busses(10,27,33,36) and the departure(valjus) times and save them into a txt document …

Member Avatar for tydruk
0
201
Member Avatar for Tiffiney_v24

Write an interactive C++ program which prompts the user for 10 integers (one at a time) and stores them into a one dimensional array and prints the result. Then the program takes the array and reverses the order of its elements and prints the reversed array. The following is an …

Member Avatar for Ancient Dragon
0
232
Member Avatar for tyczj

im trying to write a loop so that 8 of each card in a blackjack game is made and i cant get it to work right. it should print out 8 cards for each card made and delete the card if there are already enough of that type of card …

Member Avatar for Lerner
0
107
Member Avatar for Pacer
Member Avatar for amarie

For the descending sort, it only moves the highest number to the correct spot and leaves the other numbers in ascending order. Can anyone tell me what I am doing wrong? [code]#include<iostream.h> #include<cmath> void sortit(int x[], int n) { int temp,i,j; for ( i=0;i<n;i++ ) for ( j=i;j<n;j++ ) if …

Member Avatar for Ancient Dragon
0
173
Member Avatar for tyczj

im trying to make a blackjack game using stacks and lists and i am having a problem with my lists, its not being created and i dont know y? the list is a list of cards for the players and the stack is the deck of cards. [CODE]#include <stack> #include …

Member Avatar for tyczj
0
170
Member Avatar for jlouang

can someone help me i can't seem to find my temperature problem [CODE] /**************************** * functions *****************************/ float c2F(float); float f2C(float); /**************************** * gloabal variables *****************************/ int main () { float inTemp; float newTemp; char inCode; cout << "please enter the code (a 'C' of 'F'): "; cin >> inCode; …

Member Avatar for jlouang
0
111
Member Avatar for Lomas

hi everybody, this is the small c++ program for selection sort using functions. [CODE] #include <iostream> using namespace std; void selectionSort(int numbers[], int array_size); int main () { int number[4]= {20, 10, 40, 30}; selectionSort(number,4); for (int i=0;i<4;i++){ cout<<number[i]<<endl; } system("Pause"); return 0; } void selectionSort(int numbers[], int array_size) { …

Member Avatar for Lerner
0
159
Member Avatar for jack11b

hi im having problems with a doubly linked list. im trying to initialise three names into the list and print them straight off using the list and pointers but cant figure out how. heres what i have already if it could be modified i would greatly appreciate. also please keep …

Member Avatar for Bench
0
174
Member Avatar for ghadahelal

i want 2 use the ignore function 2 ignore some of my inputs data, but i dont know how i'm using C++

Member Avatar for Bench
1
250
Member Avatar for SiliconSpec

My friend has challenged me to create a simple c++ program. I have had the last 3 weeks to work on it, half way through I have realised I am doing it wrong. The program is: Entering 10 random numbers into an array( the easy part ), then printing the …

Member Avatar for ghadahelal
0
302
Member Avatar for totalnewb++

I have to create a 20 x 20 array (turtle program), I am sure you guys get these alot.. I have been working on this for way too long and I am not getting it.. I have read the chapter again and still am lost.. here is the code I …

Member Avatar for dwks
0
143
Member Avatar for janito2008

May 2, 2006 Hi! I am trying to write a program that uses a structure to store the following weather data for a particular month: Total Rainfall High Temperature Low Temperature Average Temperature The program should have an array of 12 structures to hold weather data for an entire year. …

Member Avatar for Bench
0
507
Member Avatar for derangedone

For my C++ programming course, the prof wants us to do an order queuing program, however he hasn't taught queues and stacks yet. Is there a way I could use arrays (with dynamic memory allocation) to act as a queue? This is the code I have so far, but I …

Member Avatar for Lerner
0
204
Member Avatar for ontrix

Hi there i have a big problem i am tring to send asski code out via the serial port. what my code does is look through a saved file and picks out text information then sends it to the serial port. My problem is a wierd one!! it works ok …

Member Avatar for Ancient Dragon
0
116
Member Avatar for ernie

I’m looking for an up-to-date C/C++ compiler which is available for free and not dependant on .NET. I would also like to find a compiler for Linux, GCC or G++ is ok but I’m having issues installing. (Actually [U]using [/U]Linux is new to me).

Member Avatar for ernie
0
182
Member Avatar for amarie

I have a program project to complete, but I don't know exactly what to do. This program is in C++ programming language. This what I have to do? Write a program that will use a array to store a linked list. Your linked list should contain an Student number and …

Member Avatar for Bench
0
120
Member Avatar for ghadahelal
Member Avatar for rowin

Hi, I have a table called event in my database. I have 2 fields called Event_Id and Project_Id. I want to search the table to find out if there's event_id=27 for a project_id. Kind Regards, Rowin

0
85
Member Avatar for ghadahelal

i 've an input file in .xls my user wrote that in german excel version and so the floating point is like that 55,77 my c++ program can not read this number as i'm using an english c++ version i did the conversion from , to . in the excel …

Member Avatar for Ancient Dragon
0
121
Member Avatar for nguyen duy khoi

I am studying visual C++ and turbo assembly, can you help me how to using assembly in c++, thank you very much.

Member Avatar for Ancient Dragon
0
124
Member Avatar for protmus

hey, sorry if this is in the wrong spot to post this thread but i got 2 Questoin to ask. 1)I'm hoping to learn c++ what's a good book to teach me? 2)What's good program to use (im looking at making game & programs)? thank you in advance:)

Member Avatar for Salem
0
81

The End.