49,761 Topics
| |
I need some interesting topic for my school project. Theme of the project can be • Any subsystem of a System Software or Tool • Any Scientific or a fairly complex algorithmic situation. • Business oriented problems like Banking, Library information system, Hotel or Hospital management system, Transport query system … | |
how can a linked list can be sorted in less than O(n*n) any algo ?? | |
Does C++ wait for a *system* shell command to finish before executing the rest of the C++ code? (The shell script does not output any text, it simply executes *find* to *rm* files.) I'm saying this because the shell script [U]may[/U] take a long time to find and delete all … | |
the char character for grade are coming up with weird ascii like characters instead of the letter grades. Please help! //declaration string first, last; int prog1, prog2,prog3,prog4, prog5, test1, test2; int totalpts, progavg, testavg, courseavg; char grade; //executables totalpts = (prog1+prog2+prog3+prog4+prog5+test1+test2); progavg = (prog1+prog2+prog3+prog4+prog5)/5; testavg = (test1+test2)/2; courseavg = (progavg+testavg)/2; … | |
I am trying to make a 3D Engine using OpenGL, I've got all the model loading, 3D nodes, all that stuff done, but I get linker errors when I try to compile, it.. these are the errors: ------ Build started: Project: TheAlienEngine, Configuration: Debug Win32 ------ Compiling... main.cpp core.cpp ae_3d.cpp … | |
i need source code of 3D playmobil police station in visual c++ using console application. | |
I wonder for something. If it is possible to replace for example * with any kind of variable that holds either: + - * / Something like: [code] Variable = *; double Number1 = 5; double Number2 = 10; double NewNumber = 0; NewNumber = Number1 [B]Variable[/B] Number2; [/code] | |
Hello, I've been wondering about how to make shapes out of stars (*). Like a rectangle and different stuff. Is there a way for that ? and how ? Thanks all, | |
Get the remarks of ten employees on three items... the remarks is determined by comparing the total sale of an employee to the average of the group.. i've done this already..dont know to add the items...and get its average... its only the input... #include<iostream> #include<conio.h> using namespace std; int i,n[10],it,item[3]; … | |
i want to about C and C++ project? show me a window GUI project for me i not understand about this i make project for my frist learning it include main.c , .h, .rc ,and i not know about this please explain me ,if possible tutorial for me sorry bad … | |
Assignment Write a C++ program to implement employee directory, which will let the organization to perform the following functions: 1) Insert the record of new employee 2) Delete the record of an existing employee 3) Find the record of an existing employee 4) Display Report Following information of each employee … | |
ok, so i've read most of the stuff here to help with sorting string arrays in alphabetical order, but i got more confused... i need some1 to take a look at my program and see where i went wrong. also, i need help in getting the largest,smallest,and average... yes, i'm … | |
Hi people... I'm still new in c++.. I got the problem with the recent assignment that i have to do... This is the assignment that i got... [ATTACH]12228[/ATTACH] my problem is i dont know how to display all the value that the user entered into a single receipt...when i tried … | |
Hi. Firstly, I am a complete noob, and cannot understand complicated answers. OK. I'm making a noobish space game, called Galactic Armageddon. I'm just testing the variables right now (for getting hit by lasers, missiles, etc.). I'm compiling using Dev-C++ and the default compiler. The program is written using the … | |
[code] #include <SDL.h> #include <iostream.h> int main(int argc, char* argv[]) { //initialize SDL and the video system. if (SDL_Init( SDL_INIT_VIDEO)<0) return -1; //signal SDL to change the text of the main window to SDL "Hello World". SDL_WM_SetCaption("Hello world","Hello World"); //Create an SDL_Surface object, which represents, the game window. SDL_Surface* screen=SDL_SetVideoMode(640,480,0,0); … | |
I'm writing code for an address book that the information will be output to a text file in alphabetical order. I have most of the code, and I have done this kind of thing before, but it has been over a year since coding. So, just a start would be … | |
Hello guys, I have one question about Qt... I`m fairly new in Qt and... I create the application in Qt in Linux and now I want to make a version for Windows, but do not know how to do it. I have read and follow tutorials for cross-over compiling but … | |
i have a homework assignment using the calculatecharges function...we use C++...but my book doesnt have the actual usage for it in it. we have to calculate parking charges for cars in a parking garage...could someone please explain exactly how you would use this function to do that ... thank you | |
Hi, I have a program in C++ that has a void main and I like to call ftp from inside of this C++ program to bring some files from a machine on the known network to me. Is there robust C++ code that I can use? Thanks, Ray | |
Hi all, This program is compiled successfully but it does not do what it is meant to do [CODE]# include <iostream> using namespace std; int main () { double interest_py, interest_pm, month_pay, loan, interest_due=0; int counter=0; cout << "Loan amount ="; cin >> loan; cout << "Interst per year ="; … | |
Hi Could somebody help me doing this question...:confused: I'm a beginner in c++........ TQ:):):):):) [U]Handphone[/U] -phoneNumber:string -message: string -credit:double -sms_rate:double -inbox:string[N*] -object_counter:int +<<constructor>> Handphone(no:string, cr:double, rate:double) +smsEdit():void +smsRead():void +operator>>(recipient:Handphone&):void +getCredit():double +getObjCounter():int +operator+(topUp:double): Handphone 1. Constructor initializes the phoneNumber (default value 012345), credit (default value 50) and sms_rate (default value 2.5). … | |
Hi there, I'm a new poster to these forums. A group of amateur programmers and I, some with C++ knowledge, others with Java knowledge, are planning to create a group project. My question is, is there a way to combine segments of Java and C++ code together into one program … | |
Ok, here's the problem [i]Write a program that gives and takes advice on program writing. The program starts by writing a piece of advice to the screen and asking the user to type in a different piece of advice. The program then ends. The next person to run the program … | |
Hello everyone, my name is Daniel and as the title says I am new to C++, programming and DANIWEB. I attend Cal State San Marcos, going for a major in Computer Science and looking to learn a lot through the school and hopefully this forum. I am an active duty … | |
help me to make c/c++ for this quest... [U]THE QUESTION IS MAKE C/C++=[/U] <<Make online banking registration>> hint: ask user to enter yes 'y' or no 'n'... if 'y' user can go to the next step if 'n' user out from program... if 'y' user will go to the next … | |
I did some searching and I think it might be a buffer overflow but I'm not sure. Could someone tell me what's wrong with this? [CODE]SafeGuard:: SafeGuard(int agent) { for(int index = 0; index < 26; index++) { upperCase[index] = 'A' + index; lowerCase[index] = 'a' + index; } for(int … | |
I'm somewhat new to C++, only having written some smallish C++ programs. Currently I'm having a bit of a syntax issue: I'm trying to design a virtual CPU, and I'd to have 16 index-able bitsets of 32 bits each for use as simulated registers. After searching the net and this … | |
Hello Iam using xcode c++ cmd line to build a program that will 1. read all files in a directory 2. use the last 9 charcters in the Filename to Make a Directory with that name. 3. Move that file to the new directory. My function works well with going … | |
Hi, I'm storing base class pointers in a vector, the pointers are pointing to objects from the derived class ( Leads ). I'm unable to access the 'getter' functions of the derived class. How can this be done? I'm trying to save the derived objects in a text file (database.txt) … |
The End.