49,761 Topics
| |
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. | |
: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 … | |
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.... … | |
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 | |
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> … | |
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 … | |
[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> | |
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 … | |
[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 … | |
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 … | |
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 … | |
Hello,all. Re title. Thanks very much. | |
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 … | |
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 … | |
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; … | |
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) { … | |
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 … | |
i want 2 use the ignore function 2 ignore some of my inputs data, but i dont know how i'm using C++ | |
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 … | |
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 … | |
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. … | |
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 … | |
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 … | |
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). | |
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 … | |
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 | |
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 … | |
I am studying visual C++ and turbo assembly, can you help me how to using assembly in c++, thank you very much. | |
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:) |
The End.