49,761 Topics

Member Avatar for
Member Avatar for gordon451

Hi - Some time ago I upgraded the old box (Alzheimers in the hardware) and jumped to W7HPx64. The new box has an i5-2400 CPU, FWIW. My problem is that it came with VisualC++ 2005 and 2008, but nothing later. VC++ 2008 has two x64 files and one x86 file. …

Member Avatar for gordon451
0
197
Member Avatar for muhammadnasiri

would any one give me idea or code about how to make a binary search tree of apple Ltd products prices. suppose products are: macbook i3, macbook i5, macbook i7, iphone 3g, iphone 3gs, iphone 4, iphone 4s, iphone 5, iphone 5s, iphone 5c, ipand 2, ipad mini.

0
130
Member Avatar for alaa zoghpy
Member Avatar for rubberman
0
56
Member Avatar for Eric_7

Bassicly my code is supposed to be taking ints from `int tt[]` in `main()` const int tt[] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, …

Member Avatar for richieking
0
241
Member Avatar for imalysha425

Hello everyone! I'm fairly new to C++ and I have hit a serious road block....I cannot for the life of me get my program to fill a structure from a file and print the array correctly. I don't know what to do :( It prints a series of numbers because …

Member Avatar for richieking
0
257
Member Avatar for Sara_6
Member Avatar for richieking
-2
185
Member Avatar for NicAx64

Just use the SetTimer function after you Create the window , and just handle the WM_TIMER message inside the message loop. That's it !

Member Avatar for irum.nageen.3
0
6K
Member Avatar for meja

You are given a task to write a computer program for a Coffee Shop. Following is the table containing the list of product that you sell. Please be informed that all sales must include Sales Tax of 5%. For example if the customer orders one coffee with ice and creamer …

Member Avatar for Ketsuekiame
0
228
Member Avatar for josberty

Car passing at bridge tollbooth should pay 500. Mostly they do but sometimes a car goes by without paying. Model this tollbooth with class called toolbooth, the two data items are of tye integer total number of cars,and a type of of double total amount collected. A constructor initialize both …

Member Avatar for josberty
0
184
Member Avatar for SirDK

Hi Guys, Which language would be best for building utility applications for windows?(Tune-Up,Advanced System Care,CCleaner etc.) I'm inspired by the visual display of those programs.I'm currently learning VB.NET and I've beginners knowledge in C++ but I find it too difficult. Note : I'm a professional web designer.

Member Avatar for Banfa
0
296
Member Avatar for H_beginner

Can any one tell me what I am doing wrong. I am sorting a single linked list. void ll::sort() { for(int i=0;i<size-1;i++) {node *cptr = fptr; for(int j= 0;j<size-1;j++) { if((cptr->no) > (cptr->nxt->no)) { if(cptr == fptr) { node *c2ptr = cptr->nxt; cptr->nxt=c2ptr->nxt; c2ptr->nxt=cptr; fptr = c2ptr; } else { …

Member Avatar for richieking
0
313
Member Avatar for Slavi

Hello everyone! I've read a lot of articles on DaniWeb and I've decided to join your community! I have a university project to make a bank account system, which consists of at least 10 account classes, and 3 of them inherit from at least 2 other. The system has 1 …

Member Avatar for Slavi
0
1K
Member Avatar for bugmenot

Please find and correct the error in my c++ program. "Linker Error: Undefined symbol _main in module c0.ASM" The program is for transfering content of one file to another. #include<fstream.h> #include<iostream.h> #include<conio.h> class student { int rollno; char name[20]; int tm; public: void input(); void transfer(); void output(); } obj; …

Member Avatar for NathanOliver
0
2K
Member Avatar for Vigenere

It's ok when I use uppercase letters, but I get random stuff when I use lower case letters #include <iostream> #include <conio.h> using namespace std; string sentence, key; int todo, koef, keylenth, senlenth; int main() { cout<<"Do not use spaces!"<<endl<<endl; cout<<endl<<endl<<"Key: "; //enter the key cin>>key; keylenth = key.length(); char …

Member Avatar for tinstaafl
0
562
Member Avatar for Is_at_work

Here's what I have. It compiles and runs the game, but when I make a guess right or wrong it ends the game. The words in the file are not separated by blank lines and idk how many are in there. (if that's significant). The problem is in the getWord …

Member Avatar for Ancient Dragon
0
566
Member Avatar for Is_at_work

My hangman game is complete. All i'm trying to do now is write the results of the end of the game to a file but the program is not doing that?? //Libraries #include <iostream> #include <vector> #include <string> #include <cctype> #include <fstream> #include <cstdlib> #include <stdlib.h> #include <windows.h> using namespace …

Member Avatar for kal_crazy
0
174
Member Avatar for user4678

I'm trying to create a program that computes the values of cos using the Taylor Series as long as the absolute value of a term is greater than 0.0001 and prints the number of terms used in the series approximation. My code is the following and as of right now …

Member Avatar for Labdabeta
0
629
Member Avatar for Learner010

hello now i am creating an application on what i've learned up to now. so for that i don't wanna show white character over black screen(i don't wanna show white characters in console window ). i want something colorful text. and one more thing i also want for the application …

Member Avatar for kal_crazy
0
75
Member Avatar for KrazyCod3r

So I am using a while loop and my problem happens when I try and run this code in an online compiler which doesn't have input, it keep looping forever and doesn't wait for input. Is there a way I can force it to wait ? Please note that it …

Member Avatar for KrazyCod3r
0
302
Member Avatar for Chinney

Hi all, So i was just wondering what would be the best software to use to program in C++ and then compile the program. So could you please name any software packages that you know of which can help you to program in C++ and if you could also state …

Member Avatar for Chinney
0
313
Member Avatar for amani_1

Q.1) Write a program that prompts the user to enter five words (using one cin statement), and store them in five variables, and then sort the words alphabetically

Member Avatar for rubberman
0
89
Member Avatar for Epn5014

Write a C++ program that will display the following menu and work accordingly. A menu which contains functionionality that will allow the following choices: 1. Enter the name of the file that contains students enrolled in the computer course. 2. Calculate and display the average and the letter grade for …

Member Avatar for Ancient Dragon
0
154
Member Avatar for Ravneet_1

#include<iostream.h> void main(void) { int x=0,y=2 ; x=y*4 ; cout<<x<<endl<<y<<endl; }

Member Avatar for kal_crazy
-2
263
Member Avatar for vaishali.k

Write a C++ program that can take either two integers or two floating point numbers and outputs the smallest number using class, friend functions and function overloading.

Member Avatar for yazan.quraan.39
0
155
Member Avatar for refphlex

How can I use substring to print an ID number that is read from an input file to print out as for example, ***-**-4554 instead of 455454554? I was thinking of using modulus but it is too complex

Member Avatar for nullptr
0
77
Member Avatar for sarah.mathieson.7

I am trying to parse a text file with 1200 songs. I want to increase the barcount every time I come across a '|' or a ']' character. I want to have a new line every time the barCount is equal to 4. However, if I come across '\n' I …

Member Avatar for Ancient Dragon
0
198
Member Avatar for rayborn66

Hi I need some help. I am trying to write a program that will search a file for numbers of type int and write the largest and the smallest numbers to the screen. This is how far I got but when I it came to writing the code that would …

Member Avatar for Emran__
0
2K
Member Avatar for refphlex

I need help with my eiditing a record function, I'm struggling to get it to work. Thank you int Search(Student List[], int Size, string Target) { for(int i = 0 ; i < Size ; i++) if (Target == List[i].LastName) return i; return -1; } void Edit_Record(Student List[], Student & …

Member Avatar for zouhair.kasmi
0
145
Member Avatar for djmaz
Member Avatar for djmaz
1
36
Member Avatar for Nagy Razvan
Member Avatar for deceptikon
0
42

The End.