49,757 Topics

Member Avatar for
Member Avatar for i4ba1

Hai all, i want to create interactive multimedia software. the software want to run in windows, linux, and mac. what the programming language that suite to developed that software?. c++ or adobe air? Best Regards

Member Avatar for i4ba1
0
171
Member Avatar for bensewards

Hey everyone, In my COMP 208 class, I was asked to do the following: "Redo Lab 2 Problem 2, only this time use vectors to hold the names and gpa’s instead of arrays. So you will work with 2 vectors, one holding the gpa’s (type double) and the other holding …

Member Avatar for user422
0
198
Member Avatar for txwooley

I am trying to learn C++ through on-line tutorials and such. In almost all tutorials, the author tells you which headers to include for that particular exercise, but never tells you how he knows that. I understand that if you are advanced enough to be writing tutorials, you know off …

Member Avatar for mike_2000_17
0
118
Member Avatar for kartikkp

Hey I'm having trouble with compiling this code, I keep getting a "undefined refernce to winmain@16 I feel like it has to do with int main() I tried just main(), im not sure how to fix that [CODE]#include <iostream> #include <fstream> #include <string> #include <stdio.h> #include "HangmanBoard.h" #include "FileProcessor.h" using …

Member Avatar for jonsca
0
111
Member Avatar for chamnab

do u know some code that we can use mouse in c++ because i want to click some button in my assignment ?

Member Avatar for Red Goose
0
137
Member Avatar for deanus

Hi, When I access the property pages of a project with Visual C++ 2010, in the 'Configuration Properties | VC++ Directories' sub-tab there's an 'Include Directories' property. Under 'Configuration Properties | C/C++ | General' there's a property 'Additional Include Directories'. Is there a difference between the 2? What are the …

Member Avatar for Ancient Dragon
0
99
Member Avatar for chamnab

i have some question to ask everyone . 1.what is thread ? 2.what is advantage to use thread ? 3.if you can ,please give me some tutorial about create and using thread . 4.thank for your answer

Member Avatar for Ancient Dragon
0
58
Member Avatar for fishsicles

Hello, I am working on developing an interpreted programming language for a capstone project and have hit a snag dealing with two classes. In the interpreter, the classes represent a scope containing a procedure pointer and the procedure pointing back to the scope containing it. The former to allow the …

Member Avatar for fishsicles
0
142
Member Avatar for arguav74

Hi everyone, I am taking a C++ 100 level beginners course and we just got this assgnment that I am stuck on. Here is the assginment description: [QUOTE]We are going to just compute the first 15 or so digits of π using doubles. In any case, to compute the value …

Member Avatar for WaltP
0
867
Member Avatar for CronosAkroma

ok so here the problem the code works just adds break on to every line i want it to only add breaks to the line that don't alraedy have spaces after them. while (! fileIn.eof() ) { getline (fileIn, linea); fileOut << linea << b <<endl; }//end while is what …

Member Avatar for WaltP
0
105
Member Avatar for chamnab

can anyone help me to clear this ? example: Hello i want to clear 'e' and remain words is "Hllo" please tell me if it possible . thank for the answers.

Member Avatar for mrnutty
0
47
Member Avatar for speedofdark

Hey all, I've used this site quite a bit as a reference, and couldn't find a solution that worked for me. So I became a member. :) Anyway, I can't get my insert function to...function when I go to add a node. The node is NOT to be just added …

Member Avatar for speedofdark
0
218
Member Avatar for caut_baia

Hi folks i only have one question.Can or should i delete a base class object instantiated in a derived class's constructor , inside the derived class's destructor? [code] class A { protected: int somedata; public: A () {} A (int x) : somedata(x) {} virtual ~A () {} }; class …

Member Avatar for caut_baia
0
518
Member Avatar for fsefsef23

I don't know what i'm missing, but I keep getting the error in the poly_tst file when trying to compile that says 'expected primary-expression before ']' token. According to my book I'm writing everything correctly. Here is my class file function (poly.h) void setcoeff(Term); Here is my implementation file definition …

Member Avatar for mike_2000_17
0
185
Member Avatar for gvkumar

Hi, i am porting my applicaiton from vs6.0 to vs2005 i am getting problem enum ,it is not getting integral value Could somebody help in fixing this issue, thanks in advance [code]enum Keys { classesRoot = HKEY_CLASSES_ROOT, currentUser = HKEY_CURRENT_USER, localMachine = HKEY_LOCAL_MACHINE, currentConfig = HKEY_CURRENT_CONFIG, users = HKEY_USERS, performanceData …

Member Avatar for gvkumar
-2
131
Member Avatar for israruval

ok so im trying to implement a stack using vector and i have to access the last element of the vector el, i dont know if its right and also how would i implement the pop function of the stack using vector el_t stack::topElem() { el_t n; if(isEmpty()) cout <<"stack …

Member Avatar for mike_2000_17
0
5K
Member Avatar for lexusdominus

i have a string which is giving me problems. when i put it into a textfile, it puts the cursor onto the nextline. i assume because there is a \n at the end of the string, but when i cout the string, the newline character isnt there (well, the console …

Member Avatar for lexusdominus
0
96
Member Avatar for jimJohnson

I need to take my last C++ class over one more time and just trying to get a head start on the programs we had been assigned. I will provide the instructions and was wanting to get any feedback on what I should get rid of my current program and …

Member Avatar for jimJohnson
0
200
Member Avatar for fsefsef23

I'm writing a polynomial project that requires me to utilize classes. Problem is, I have the polynomial stored in two arrays in the class, one for coefficients (float coefficientholder[10]) and one for exponents (int exponentholder[10]), and get functions (at least according to my book) are simply consisting of return commands …

Member Avatar for mrnutty
0
180
Member Avatar for biancaW

I have another question regarding activating of an automatic door: three sensors front pad, rear pad, and door; they determine weather the door is activated or not. front pad=0 empty front pad=1 occupied rear pad=0 empty rear pad=1 occupied door=0 closed door=1 open there are situations when the door is …

Member Avatar for fishsicles
0
291
Member Avatar for goody11

Hey, I'm having some troubles reloading a new png in place of my old one on my window using the GDI+ SDK. Here is my WM_PAINT message: [CODE]case WM_PAINT: { BITMAP bm; PAINTSTRUCT ps; //Painting the Background HDC hdc = BeginPaint(hwnd, &ps); HDC hdcMem = CreateCompatibleDC(hdc); HBITMAP hbmOld = (HBITMAP)SelectObject …

0
68
Member Avatar for VasquezPL

Hi...I wrote a proggy that replace some words in text file there is a condition that if somebody write in the texbox ","...all sentences change into plural form... [CODE]if (systemTEXT->Text->Contains(",")) {token == 1;}[/CODE] it works great...text contains "," - it means plural forms are needed..token=1 [CODE] if (linia->Contains("system_token")) {poprawka = …

Member Avatar for VasquezPL
0
140
Member Avatar for sdr001

This is the line of code that I am getting an error with. [CODE]mtx[cIndex(bitNum)] & = ~(1 << bIndex(bitNum));[/CODE] The error code is: expected primary-expression before â=â token I think I am missing some '(' and ')''s. Thanks!

Member Avatar for sdr001
0
106
Member Avatar for realproskater

So i've been working on this for while and i keep getting error after error, after i posted here last i cleaned it up but here is my latest debug error. I feel like that my code and algorithms are all there but im messing up in one of my …

Member Avatar for daviddoria
0
96
Member Avatar for CrumbledCookies

Okay, so I'm a 7 month experienced programmer in C++, and now is the time when I am having the most trouble. So my Professor wants us to create a program that asks the user to input a sequence of numbers and then convert those numbers into outputs of "how …

Member Avatar for ravenous
0
188
Member Avatar for israruval

Ok so im trying to implement a stack using vectors in C++ i just want to know if the following implementation code makes sense, this is just the implementation file, the client file is working fine but when i run the program it doesnt work so i believe it has …

Member Avatar for israruval
0
1K
Member Avatar for plang007

I really need help in writing this program for homework. 1. Round the average for each student to the nearest integer. 2. Add code to print out an appropriate message for each student. (given in prologue comments) 3. Add code to calculate the highest student average, and the lowest student …

Member Avatar for ravenous
0
258
Member Avatar for Derek Elensar

Okay. I have said code: [code=C++] #include <iostream> int main() { std::cout << "This is a native C++ program\n" << std::endl; return 0; }//main [/code] How would I compile this from a standard DOS command line? I've searched all over google, and have yet to find an answer that explains …

Member Avatar for user422
0
312
Member Avatar for Transcendent

I have a flow on how to do this program but I need so help.[COLOR="Red"] [B]PLEASE GIVE ME A HINT NOT THE ANSWER. [/B][/COLOR] [B][COLOR="Red"]THE FLOW CHART IS IN THE ATTACHMENT. PLEASE CHECK IT OUT BEFORE GIVING HINTS[/COLOR][/B] [CODE]/*************************************************** The following program will take user's input and check whether it …

Member Avatar for mike_2000_17
0
456
Member Avatar for JaviP

Hello, I would like to know what am I missing in this program to be getting that error. Thanks in advance! Error is [B]error C3861: 'setprecision': identifier not found[/B] [CODE]#include <iostream> using namespace std; int main () { int numFloors=0, numRooms=0, numOccupied=0, totRooms = 0, totOccupied = 0, totUnoccupied=0; double …

Member Avatar for Fbody
0
5K

The End.