49,761 Topics
| |
Hi friends , i have a plan to port a open source Linux application into Windows as part of my M. C. A Project. Can u tell me , is it possible to port Linux applications into windows , if yes then which Compiler or IDE i have to use … | |
Hi I have what at first seemed to be a very simpe problem: I have a Microsoft Package that requires me to use nmake to make a lib file. I am unfamiliar with make files as I use visio and XP. Now I had to move somethings due to restricted … | |
Hello, i have a question about OnTimer() function in Visual C++ 6.0. My program contais 2 classes - let's say a class A and a class B . Class A calls me a screen and the user must choose an option(e.g. Start or something). When the user clicks on START … | |
I am trying to render a very simple scene by loading various parameters from a file (MLC.txt) When compiling I receive the following error main.cpp: In function ‘void renderScene()’: main.cpp:77: error: ‘pBeam’ was not declared in this scope H | |
Hello, I can't understand what compiler wants from me. I trying to create quite a big class structure with many abstract classes. Below is a part of the code with some of them. The compiler doesn't like my classes and says the he needs more constructor which I don't understand. … | |
Can you help me with this? I will be very thankfull In the previous assignments monthly average temperatures in Helsinki were computed. That can be done without storing the data in the memory since the data is already ordered by time. Looking for more complex information will require storing the … | |
Hi.. I suppose to have a programe to read a data from a file and enqueu it to the Queue. The programme works like a Priority queue whether the ladies queue need to be inserted to queue first before the gentleman... But i think i need to try first how … | |
hi; please help me on my assignment about c++; my problem is write a program that will enter month and day and display its corresponding sodiac sign pls. help tnx | |
[CODE]#include<iostream.h> class invent2 class invent1 { int code; int items; float price; public: invent1(int a,int b,float c) { code=a;items=b;price=c; } void putdata() { cout<<"code:"<<code<<"\n"; cout<<"items:"<<items<<"\n"; cout<<"value:"<<price<<"\n"; } int getcode(){ return code; } int getitems() { return items; } float getprice() { return price; } operator float(){ return(items * code); } … | |
i recieve error message when execute my code note my code has now errors when build the solution i work on laptop with windows xp sp2 and vc++ 2008 error message misa.exe - Unable To Locate Component x This application has failed to start because MSVCR90D.dll was not found. Re-installing … | |
I have to write a program that accepts a pointer to a c-string as its argument. The function should return the charater that appears most frequently in the string along with the number of times it appears. for example, if i input "hello dolly" the output would be: "l sppears … | |
[CODE]if(num/100>=1) { x=num/100; switch(x) { case 1: cout<<"one hundred "; break; case 2: cout<<"two hundred "; break; case 3: cout<<"three hundred "; break; case 4: cout<<"four hundred "; break; case 5: cout<<"five hundred "; break; case 6: cout<<"six hundred "; break; case 7: cout<<"seven hundred "; break; case 8: cout<<"eight … | |
Hi Friends, I have no clue how to solve following C++ question.I am a learner.Thank you in advance. Question -- Simulation and use of random/io libraries A recent New York Times article featured a report on the usability, stability, and effectiveness (or lack thereof) of current electronic voting systems. By … | |
I really need help & i wish someone could help me :( I am required to design an Advisory System which models the academic advisor and advisee system used in any university. An advisor lecturer may have one or more advisees (students). An advisee can have only one advisor. The … | |
Hi, I know how to draw basic flowchart but I have no idea how to link it to different function. Currently my program has 2 functions and another main function. Both the 2 functions are to receive and return a value to the main function. How do I draw it? … | |
Hi frens, I couldn't compile this solution code given by my university on visual studio.Visual studio works fine with other C++ files. Here are the question and solution code pasted below.I wonder if anybody could try to compile the solution code on thier machine and see if they can run … | |
I have to create a program that handles random birthdays between 2 and 50 students (depending on what the user inputs), and calculates the random birthday (1 to 365) and then determines whether or not students share the sam birthday, and how many students share it. I'm stuck on how … | |
Hello, I'm currently using the TMediaPlayer component from Borland to play a .mid file in one of my programs. Now what I actually need to do... : I noticed there are functions like Next() and Previous() so I was wondering if there is a way to load more than one … | |
I scrapped the other code about the student because it didn't make any sense. I was actually modeling it after another program I did last semester that was a Plasma gun program. Anyway I started over with the same requirements but new program. I am having similar issues with this … | |
Hi guys I'm new to c++/openGL (used java a lot more) and have run into an issue while trying to write a program using an array. I have declared the array as GLfloat in the header file and then initialized it with a bunch of values in the constructor of … | |
| Hi guys, I have a txt file in which each line contains information in following format: VELOCITY<100.0> LAT_1<N 00 00.0000> LON_1<E 000 00.0000> SIMULATE<false> I would like to write a C or C++ programm to select only the values of the words I need. I need those values to do … |
I am writing a game program for a dice game. You want to get 100 points. You roll until you decide to hold, and the sum of your rolls is added to your total score. If you roll a 1 though, your turn is over and you get 0 points … | |
I couldn't see a more appropriate place to make this thread, and I can only think of ambiguous terms to google, like "Output Error Windows Visual Studio". The issue is, when I build my project (I'm using Visual Studio 2010, but I always had the same issue with VS2008), the … | |
Appretiate some coursework help related to classes. All im trying to do is compare the elements of two objects [code] if(asteroid1.getxx == asteroid2.getxx && asteroid1.getyy == asteroid2.getyy) { cout<<endl; cout<<"Collision"<<endl; } [/code] All i want to be able to do, is to compare the x and y co-ordinates of my … | |
Hi, I have used a lot of makefiles to compile programs. The issue is, I don't know how to produce make file. Is it another "language" I have to learn or some automatic issue? Also what is short yet clea tutorial on that? Thanks | |
Hello everybody, I'm trying to get the user name using GetUserName() API function, it was sucessful in the console project however in the Visual C++ project it gives me this error: [CODE] 1>MyProgram.obj : error LNK2028: unresolved token (0A00000F) "extern "C" int __stdcall GetUserNameA(char *,unsigned long *)" (?GetUserNameA@@$$J18YGHPADPAK@Z) referenced in … | |
I have a alpha beta tree program i'm supposed to do. I can't figure out how to do a multi node tree! I've been trying all day at this.. Here is my code so far. #include <iostream> #include <cstdlib> #include <vector> using namespace std; typedef struct tree TREE_DATA; struct tree … | |
hey!i was tryinn to write this complex number addition and i dunno where this garbage value it is pickin from :-/.... m gettin mad over this because first time such a simple program has got me all over :icon_mad:.... so here's the code: # include <iostream> using namespace std; # … | |
I am having a most mysterious problem which I have been unable to solve after repeated attempts. Perhaps somebody here will be smart enough to figure out what is going on. I am attempting to read a file of this format 19700326.15 71.37 71.50 70.00 70.50 217600 0.89 19700330.15 70.50 … | |
I love this programme :P [CODE]#include <iostream> #include <string> using namespace std; char lowerCase(char input0 = 0); char upperCase(char input1 = 0); int main() { char character = 0; while(true) { cout << "Enter a Character to change case: "; cin >> character; cout << endl; if(character > 64 && … |
The End.