49,757 Topics

Member Avatar for
Member Avatar for markdean1989

Hi guys! Just needing a little of your help here. I have been looking for a free IDE where I can program in C++ for the past months now after messing up my MSVS 2013 for Desktop. I found Netbeans to be a nice alternative. But I am having some …

Member Avatar for markdean1989
0
198
Member Avatar for PETRICIAMARYMALLIGA A
Member Avatar for adnan_6

Dear programmers, I want to implement English language feature in the following application http://www.codeproject.com/Articles/714651/Desktop-Sharing-using-RDP-APIs-and-Socket . I followed this http://stackoverflow.com/questions/12929934/same-resource-identifier-in-different-language-sections-in-an-rc-file-why-is-it post and https://msdn.microsoft.com/en-us/goglobal/bb688160.aspx Now my peer.rc file code is // // Peer.RC2 - Microsoft Visual C++ 不会直接编辑的资源 // #ifdef string ID IDS_ENUMSTRTEST #error Microsoft Visual C++ #endif //APSTUDIO_INVOKED ///////////////////////////////////////////////////////////////////////////// // 在此处添加手动编辑的资源... …

Member Avatar for adnan_6
0
315
Member Avatar for hadisur_rahman

plz help me to solve the problem..add some more code in c/c++ related to show that the output will be password too strong or strong or weak.... #include <iostream> #include <cstring> #include <cctype> using namespace std; bool testPass(char []);//function prototype to check password int main() { char *password; int length; …

Member Avatar for ShiftLeft
-1
441
Member Avatar for DS9596

Need help to fix errors, I know int a[] should be specified but not sure how to. #include <iostream> using namespace std; class TWO { private: int age[5]; public: //read data into array void ReadData(int age[], int n); //member to return the average of data in array age of object …

Member Avatar for rubberman
0
165
Member Avatar for phony

` //Header file: stackADT.h #ifndef H_StackADT #define H_StackADT //************************************************************* // Author: D.S. Malik // // This class specifies the basic operations on a stack. //************************************************************* template <class Type> class stackADT { public: virtual void initializeStack() = 0; //Method to initialize the stack to an empty state. //Postcondition: Stack is empty. …

Member Avatar for tinstaafl
0
957
Member Avatar for tgreiner

OK, here is a problem that I have found described many times on the net, but have not found a definitive solution. Until recently, file writing has worked just fine for me, but no longer. The questions are: Why does it not work now? What might I have done somewhere …

Member Avatar for tinstaafl
0
9K
Member Avatar for MrXortex

Hi I coded a program where you can reverse the contents of an array. But I used two arrays to complete this process, I want to make it work by using only one array. Here is my code so far, it works btw, just need to make it work by …

Member Avatar for tinstaafl
0
457
Member Avatar for it@61@sec

I have a program which reads entries from a directory. These entries are stored in a vector called fdata. Using vectors gives me an easy way to sort the entries. The program copies files from one directory (the source directory) onto another directory (the destination directory). While the copying is …

Member Avatar for it@61@sec
0
215
Member Avatar for ilovec++

I have some doubts concerning some basic C++ concepts, and would be very thankful, if someone would kindly clear the doubts: a) Every variable of a data type occupies a specific amount of memory, like int occupies 2 bytes and so on. So, if I declare a reference variable as, …

Member Avatar for yoavip
0
564
Member Avatar for Thomas_25

Hi all, What is the best sorting algorithm for a doubly linked list? Insertion sort and merge sort appears to the best due to the less overhead compared to the bubble/selection sort. Would like to know your insights on this. Thanks.

Member Avatar for rubberman
0
2K
Member Avatar for Abetsub71
Member Avatar for adnan_6

Dear programmers, I have downloaded the program from here http://www.tightvnc.com/download/2.7.10/tightvnc-2.7.10-src.zip and want to compile with the vs2013 ultimate edition and get the following error. Thanks

Member Avatar for adnan_6
0
339
Member Avatar for Bendez Thyna

#include <iostream> #include <fstream> #include <stdlib.h> #include <iomanip> #include <string> using namespace std; const int MAX_SIZE = 60; void discard_line(ifstream &in); void print_student_records(structarray[], double scmarks[], double sfmarks[], int size) ; int main() { string id[MAX_SIZE]; double cmarks[MAX_SIZE]; double fmarks[MAX_SIZE]; //char grade[MAX_SIZE]; int choice; char response; int total_records; ifstream infile; cout …

Member Avatar for Bendez Thyna
0
320
Member Avatar for tgreiner

In the course of my programming I have created a new class called Vector (yes I know that vector.h exists, but I like my version better, or at least I have until now). As part of my class, I have overloaded the = to use as an assingment function, as …

Member Avatar for tgreiner
0
287
Member Avatar for rimsha240893

I DUN UNDERSTAND WHAT TO DO. PLZ HELP ME. WE HAVE TO DO IT WITH SIMPLE C++ PROGRAMMING. THANKS Egyptian Pyramids were constructed around 2500­3000 BC, by using large Cubic blocks placed in a perfect mathematical way. Researchers are still struggling to find out how these pyramids were constructed without …

Member Avatar for rubberman
-1
167
Member Avatar for StoneHeart

Im trying to animate a sprite just like how that [MUGEN](http://en.wikipedia.org/wiki/M.U.G.E.N) game engine does. Ive been searching the net for an example/documentation but none of it works like on that game engine. All game engine or example on the net uses fixed delay on each sprite ie. 5 ticks but …

Member Avatar for rubberman
0
143
Member Avatar for Mica_1

string guessNo; **Hi! How do I validate the user input in C++ ? I just want the guessNo string to have** 4 characters, all of which are numbers**.**

Member Avatar for rubberman
0
103
Member Avatar for Pokenerd**

I'm having difficulties with this code...it won't randomize the answer for some reason #include <string> #include <iostream> #include <cstdlib> #include <iomanip> #include <fstream> #include <ctime> #define down8 "\n\n\n\n\n\n\n\n" #define down7 "\n\n\n\n\n\n\n" #define down5 "\n\n\n\n\n" #define over4 "\t\t\t\t" #define over3 "\t\t\t" #define over2 "\t\t" void welcome (); void splash (); using …

Member Avatar for Moschops
0
285
Member Avatar for HōñËy

I need the solution of this program using C++ .. Develop a database software to maintain the records of students of a college.The software should be user-friendly.The user can easiy add new records,update existing records,create reports of existing records etc.

Member Avatar for David W
0
280
Member Avatar for SUBHENDU_1

Write a program to print the following pattern based on user input. For eg: If N=4 the code should print the following pattern. 1*2*3*4*17*18*19*20 --5*6*7*14*15*16 ----8*9*12*13 ------10*11 Again if N=5 the code should print 1*2*3*4*5*26*27*28*29*30 --6*7*8*9*22*23*24*25 ----10*11*12*19*20*21 ------13*14*17*18 --------15*16 For N=2 the pattern will be 1*2*5*6 --3*4 PLEASE HELP AS …

Member Avatar for David W
0
170
Member Avatar for Ghost

Hi Everone, How do I remotely access my computer - I want to be able to control the mouse and keyboard and view the screen in real time. I wanted to do this in Java, but the experts sent me here because Java is not platform dependent and C++ is. …

Member Avatar for adnan_6
0
2K
Member Avatar for ArpitJ.25
Member Avatar for ArpitJ.25

What does int flag = 1 or flag = 0 means in C++ language? I have seen it in many programs but I don't know its use.

Member Avatar for Schol-R-LEA
0
167
Member Avatar for alzooz

hi , i need help to complete wrting a program // #include<iostream> #include<cmath> using namespace std; int main() { //decaler data here double var, n=0, sum = 0; double x, xi; //input cout << "please enter the value of x :"; cin >> x; cout << "please enter the value …

Member Avatar for ddanbe
0
126
Member Avatar for Thomas_25

I have a base class (A) and two derived classes (B,C) (mode of inheritance is public). I have two values in base class A that needs to be modified by derived classes B,C so i declared their get() and set() under protected in base class. Now each of the derived …

Member Avatar for Thomas_25
0
333
Member Avatar for Dankwah Emma

**Guessing game. Write a c++ game that asks the user to guess a number between 1 and a 100. If you guessed correctly, it will say you win. If your too high or too low it will also let you know.**

Member Avatar for Rik30
0
124
Member Avatar for sunshine102030

please can you help to get this answer : ![Capture.PNG](/attachments/large/4/6f316954e2e1f132d107b4029205fd2d.PNG "align-center") I have a problem in the result of kilometer formula #include<iostream> #include<fstream> #include<iomanip> #include<string> using namespace std; int main() { ifstream infile; ofstream outfile; string outfilename; string filename; string Kilo; string dayfees; double f1, f2, f3, Kilometers, cost_km, …

Member Avatar for David W
-1
202
Member Avatar for Syed Ammar

I have another question and trying to solve but did not solve this anyone who help me to solve this the Question start here...... Write a program that reads a whole paragraph (you can do that with a little common sense) from the user. Now prompt the user enters a …

Member Avatar for David W
0
144
Member Avatar for VengefulToast

Hi, I am trying to construct a binary tree using a list. class Element { private: list<Element*> _children; char* _name; //...other data members and methods } I have a class ("Element") that has children ("_children"), but I cannot figure out how to add children to the elements of "_children". I …

Member Avatar for David W
0
180

The End.