49,757 Topics

Member Avatar for
Member Avatar for parth27987

> 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 …

Member Avatar for parth27987
0
503
Member Avatar for Vish0203

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??

Member Avatar for Vish0203
0
229
Member Avatar for sadiq.pardesi

hello friends plz tell me how i print the prime numbers from 1-1000 in for loop in c++. plz help me

Member Avatar for DavidB
0
39
Member Avatar for ranam

Can any one tell me how to solve these any pointers would be of great help :( ![Error5](/attachments/large/1/Error5.JPG "Error5")

Member Avatar for Ancient Dragon
0
56
Member Avatar for ranam

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

Member Avatar for ranam
0
111
Member Avatar for Archaismic

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 …

Member Avatar for Archaismic
0
205
Member Avatar for litmah
Member Avatar for BobS0327
0
77
Member Avatar for ilian.bonov

#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 < …

Member Avatar for ilian.bonov
0
130
Member Avatar for last1devil

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?

Member Avatar for last1devil
0
804
Member Avatar for Carpetfizz

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 …

Member Avatar for Carpetfizz
1
266
Member Avatar for pinaka

#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; }

Member Avatar for pinaka
0
178
Member Avatar for candicecandy

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. …

Member Avatar for Schol-R-LEA
0
222
Member Avatar for a9602

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

Member Avatar for a9602
0
86
Member Avatar for john540
Member Avatar for STVG

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 …

Member Avatar for Ancient Dragon
0
160
Member Avatar for andrew mendonca

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. …

Member Avatar for nullptr
0
197
Member Avatar for jonny93

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.

Member Avatar for mike_2000_17
0
897
Member Avatar for izabella.pearson

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 …

0
65
Member Avatar for Some Dude

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 …

Member Avatar for Some Dude
0
436
Member Avatar for rajkumar.it

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?

Member Avatar for rajkumar.it
0
111
Member Avatar for vishalonne

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 …

Member Avatar for vishalonne
0
648
Member Avatar for magdy.elbaset

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<<": …

Member Avatar for magdy.elbaset
0
107
Member Avatar for Musa_Jutt

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 .

Member Avatar for Ancient Dragon
0
44
Member Avatar for whileiforelse

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 …

Member Avatar for whileiforelse
0
192
Member Avatar for firras

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 …

Member Avatar for Ancient Dragon
0
704
Member Avatar for bernaprog

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: …

Member Avatar for Ancient Dragon
2
118
Member Avatar for thammalatha

can any one tell me what is the difference between map and multimap container in STL? thanks in advance.. iam new to this topic..

Member Avatar for JasonHippy
0
93
Member Avatar for chris.vargas.773

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 …

Member Avatar for Lucaci Andrew
0
692
Member Avatar for jayrharris21

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 …

Member Avatar for jayrharris21
0
549
Member Avatar for hartk1213

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 …

Member Avatar for hartk1213
0
402

The End.