49,757 Topics
| |
> The game of Rush Hour is played in a 6x6 grid. The goal is to drive your vehicle out of the maze as quickly as possible. You may move each vehicle one square at a time, but only in the direction (up-down or left-right) that is oriented. You may … | |
How to manipulate .doc files using c++ ??? I'm working on a project which needs this manipulation.. But, I feel that it is not possible to manipulate .doc files :/ can anyone help me out here?? | |
hello friends plz tell me how i print the prime numbers from 1-1000 in for loop in c++. plz help me | |
Can any one tell me how to solve these any pointers would be of great help :( ![Error5](/attachments/large/1/Error5.JPG "Error5") | |
Error 4 error C2504: 'CYodaGeneralAuditListCtrl' : base class undefined c:\teamyoda\mainline\yoda\accounting\yodaaccountingauditlistctrl.h 15 i am recieving this erro can any one help me in solving it | |
Here's what I'm working with. #include <windows.h> #include "iostream" void SendText(char* message, int size) { int lc=0; do{ keybd_event(VkKeyScan(message[lc]),0,KEYEVENTF_EXTENDEDKEY,0); keybd_event(VkKeyScan(message[lc]),0,KEYEVENTF_KEYUP,0); lc=lc+1; } while(lc<size); keybd_event(VK_RETURN,0,KEYEVENTF_EXTENDEDKEY,0); //Presses Return keybd_event(VK_RETURN,0,KEYEVENTF_KEYUP,0); //Presses Return } int main() { Sleep(5000); char a=98; SendText("a", strlen("a")); } I think this is a noobish question but, how would I … | |
how do i make a makefile of a c++ that estimates easter holiday annually? | |
#include "stdafx.h" #include <stdio.h> #include <math.h> #include <iostream> using namespace std; int main() { int a; int b; int c; double X1; double X2; double D; cout<<"a="; cin>>a>>endl; cout<<"b="; cin>>b>>endl; cout<<"c="; cin>>c>>endl; X1 = (-b+sqrt((b*b)-(4*a*c)))/(2(a)); X2 = (-b-sqrt((b*b)-(4*a*c)))/(2(a)); D =(b*b)-(4*a*c)); if (D >= 0) { cout<<"..."<<X1<<X2<<endl; } if (D < … | |
Hi! I use Linux Mint Maya and I need to install some software from sources but the problem is that GCC is not working. When I type gcc or make command I get a error like this: bash: /usr/bin/gcc: cannot execute binary file How can I fix that? | |
Hello, I'm working on some kind of a text-based game, and I'm trying to move on from the options being given, and the user selecting "1 or 2", to actually reading a string that was inputted and pick up key words. So far, I've learned how to read a whole … | |
#include<iostream> #include<string> int strlength(&a); using namespace std; int main() { string s1,s2; cout<<"Enter the strings u want to check length::"; cin>>s1>>s2; strlength(s1); strlength(s2); return 0; } int strlength(&a) { for(int i=0;str[i]!='\0';i++) { int count++; } cout<<"The length of string is::"<<count; } | |
I am a beginner in C++ programming and I badly need help. I just need some tips for programming a tic tac toe game that asks the user how many times they want to play, and should track how many times they win. Also, this program should not use arrays. … | |
hey im new to c++.ive done basic programs but got to do a project with graphics in it,..........ive no idea what graphics is......so pls suggest some basic stuff like how to enter some txt in a box and how to change background colour of a page.......... with sincere regards | |
for all tools in toolbox in visual c++ 2010 express my regard john450 | |
Hi! i'm new in c++, i have some problems with files... -first of all i want to know that how i can save a file with the name that program gives it? for example i run the program and type"file1" then save the file with name "file1.txt". whatever i give … | |
Define a getTopTwoScores() function with the specification and prototype shown below: // Set highest to the score with highest value and secondHighest to the score with the next highest value. // If there are two highest scores with the same value then set both highest and secondHighest to that value. … | |
What is the best way to practice C++ coding on Windows 7, and at the very least free? I want to get better at programming, but I don't have a compiler. | |
When I complie and run my program it works but no matter what day you say January first is it sets it as monday. Any ideas on how to fix this? #include <iostream> #include <fstream> #include <iomanip> #include <fstream> using namespace std; int year, month, FDOM, mDays; int getYear(); int … | |
Alright. I am making some decent progress here. I am trying to add a toolbar to my basic text editor that I am making using an internet tutorial. Anyways the problem is that I can get the bitmaps to display but they appear to be just that... bitmaps. When I … | |
Hello guys, I am working as a C C++ UNIX software programmer , and looking for freelancer projects. could you please let me know how can i get the project? | |
Hi all members I'm a learning how to use C/C++ on Netbeans IDE. I got an [tutorial on net](http://dev.mysql.com/tech-resources/articles/mysql-connector-cpp.html#intro) I am trying this tutorial to complete since last 5 days--- I followed the tutorial step by step. My system settings - Window 7 32 bits Netbeans 7.1 JDK 1.7 cygwin … | |
hello guys, i want to write a program to cout the numbers i input (a-z) to (z-a) like input (1,2,3,4,5,6,7,8,9,10) output(10,9,8,7,6,5,4,3,2,1) and i tried this but it's out put the same sorting #include <iostream.h> void main(void) { int Number[11],i,j; cout<<"Enter The Numbers"<<endl; for (i = 1; i<=10; i++) { cout<<"Number"<<i<<": … | |
Guys I installed "windows Vituual PC" with xp vesion in windows 7 ultimate 64 bit. Now I am not able to install c++ software in it so please tell me how to install turbo c++ in VMplayer plzzzzzzzz full detail . | |
Well this is my assignment for uni. I've done all the main and difficult bits- and now I cannot believe that I'm stuck at the simplest task. Im told to make a menu that gives user three options to choose from. Choosing option 1 will ask to choose from 3 … | |
If someone could help point me in the right direction, it would be much appreciated. My problem is merge sorting a list from a text file and outputting the sort into a different text file that the user chooses. The text file that's inputted is about a 20 item list … | |
hi, I'm trying to calculate the percentage of an ammount of boxes in C. Ex: 4400. I have the next code: [CODE=c++]#include<iostream.h> #include<conio.h> main() { double a=2400; double b=8000; double per=0; per=2400*100/8000; cout<<per; getch(); } [/CODE] and return a negative value. I try to asign values at differents variables like: … | |
can any one tell me what is the difference between map and multimap container in STL? thanks in advance.. iam new to this topic.. | |
For a Class assignment i wrote a program that has to throw a logic_error and then catch it but my code doesn't work i don't know what am i doing wrong. #include <iostream> #include <iomanip> #include <exception> #include <stdexcept> using namespace std; std::logic_error; struct MyException : public exception { const … | |
Alright guys, brand new to the forum and I'm currently taking my first c++ course. I am not asking for anyone to do my homework for me, but I have been working on the same assignment for the past three days and have been unable to figure it out. Here … | |
i need some help with my assignment the link is to the assignment [Click Here](http://www.cwu.edu/~schwing/cs361/CPPprog4.html) Complex.h #include <iostream> using namespace std; class Complex { private: double realPart; double imaginaryPart; public: //Default Constructor Complex(); //Parameterized Constructor Complex(double r, double i); double GetRealPart() const; double GetImaginaryPart() const; void printComplex(); }; test.cpp #include … |
The End.