49,760 Topics

Member Avatar for
Member Avatar for ATS

I am completing my degree in Multimedia and Software Developement. The two languages that are being focused on are VB.net and Java. When I finish my degree, I will have not had a class in C++. Is C++ not used very much any more? I was just kind of curious.

Member Avatar for iamthwee
0
76
Member Avatar for LocoBird

Its a common problem but i've never had it before. source compiles fine. but get linker error when i build. tryed with Dev C++ and VC 6.0 same problem with both compilers. [Linker error] undefined reference to `CQTMovieFile::CQTMovieFile()' all libs and files are added any thoughts anyone.

Member Avatar for n3st3d_l00p
0
144
Member Avatar for hoosier23

i'm very much a newbie, so pardon me if i am breaking programmer ettiquette, but could someone debug this, please? i could use a lift after 8+ hours workin on this... this is player.h [CODE]#ifndef PLAYER_H #define PLAYER_H using namespace std; class player { private: char* name; int bankroll = …

Member Avatar for iamthwee
1
169
Member Avatar for n3st3d_l00p

hello.. help me solve this :cheesy: when a new car or motorcycle created, the system should create a folder with the name of the car or motorcycle. the hierarchy should be like this: Vehicle(main exe folder) +Car -Porsche -Ferrari +Motorcycle -Suzuki -Honda new vehicle info's folder shoud be create as …

Member Avatar for WaltP
0
623
Member Avatar for sadsack

Hello, I just downloaded express C++ 2005 ed. and I can't get even a simple code snippets to compile. this is just a loop, the compiler does not compiles (cout) this is what I get: error C2065: 'cout' : undeclared identifier Thank YOU:cry: renny [CODE]#include "stdafx.h" int _tmain(int argc, _TCHAR* …

Member Avatar for herge
1
107
Member Avatar for Diode

I tried typing [CODE]printf("\033[34m");[/CODE] for blue foreground color, and other values, but nothing worked. So I included: [CODE]device=D:\WINDOWS\system32\ansi.sys[/CODE] and [CODE]devicehigh=D:\WINDOWS\system32\ansi.sys[/CODE] into my system.ini file to load the ANSI driver, both under the device part of the file, and it still didn't show any color. My Jamsa's C/C++ Programmer's Bible tells …

Member Avatar for Salem
1
195
Member Avatar for reRanger

Hello: I was wondering if anyone in this forum could point me in a direction (a link) where I could find practice projects (similar to Python [URL="http://www.daniweb.com/techtalkforums/thread32007.html"]Projects for the Beginner[/URL]) dealing specifically with C++ classes and their related functions? Thank-you in advance, reRanger

Member Avatar for Ene Uran
0
106
Member Avatar for Killer_Typo

Howdy there all again. I have been working in C# for some time and think i am ready to graduate to a real language that can actually work hand in hand with memory managment :P so my first venture is to write a piece of software that will open a …

Member Avatar for Killer_Typo
1
385
Member Avatar for reRanger

Hello: I was wondering if anyone in this forum could point me in a direction (a link) where I could find practice projects (similar to Python [URL="http://www.daniweb.com/techtalkforums/thread32007.html"]Projects for the Beginner[/URL]) dealing specifically with C++ classes and their related functions? Thank-you in advance, reRanger

Member Avatar for Bench
1
113
Member Avatar for mightymousenick

Hi people i am kind lost at where to start for this lab assignment i have gotten for my mid term break: Olympiad 2012 Problem It's London! International Olympic Committee President Jacques Rogge has announced that London will host the 2012 Olympic Games and Paralympic Games. 6 July, 2005, Singapore …

Member Avatar for mightymousenick
1
129
Member Avatar for micmac700

I am working on a program that uses interrupts and a buffer to read/write characters from/to the console screen. (This is a tty.c program with ttywrite(), ttyread(), ect...) I also have a given queue folder, which contains queue.c that has the methods: [code] int init_queue(Queue *q, int max_chars); make a …

Member Avatar for Lerner
1
435
Member Avatar for skwalker112

I have to write this program by 12 a.m. tonight and i need help writing this program below. I will work with whoever can give me help all night if that is what it takes I'm trying to write a small code that will ask the user to choose between …

Member Avatar for FireSBurnsmuP
1
134
Member Avatar for bkas3
Member Avatar for hoosier23

I am trying to create a blackjack deck of cards (blackjack uses five decks... 5*52 = 260) Suit is irrelevant in blackjack. How do I create my deck? [CODE]#include <iostream> using namespace::std; int main() { char thedeck[13]={'2','3','4','5','6','7','8','9','0','J','Q','K','A'}; char deck[260]; for (int i=0;i<20;i++) { for (int j=0;j<13;j++) { thedeck[j]; } } …

Member Avatar for iamthwee
1
122
Member Avatar for Laiq Ahmed

please help me understand the folowing code.... [code] class A { int a; public: A() : a ( 0 ) {} int get() { cout << "Hello WOrld " << endl; return 0; } }; int main( int argc, char** argv ) { cout<< ((A*)3)->get() << endl; return 0; } …

Member Avatar for Ancient Dragon
1
124
Member Avatar for hike34

I am programing in MFC .NET, and I am encountering a problum in adding the symbol '' to a CString object. This is naturaly due to the fact that the symbol is used for such things as \n \t ect. How do I go about it? say I have the …

Member Avatar for clemente
0
150
Member Avatar for hay_man

I am programming in C++ and am attempting to find the intersection of two strings, only the items common to both and thus return a third string with these items. Essentially, I am trying to write the code for the STL library set_intersection. To approach this problem I thought of …

Member Avatar for Micko
1
237
Member Avatar for waldis

I'm having difficulties to get the buffer read 10 numbers from a file, then after it's empty read next 10 numbers, and so on till eof is reached. The input file contains several lines of data, with a single integer value on each line. Here is my code (I have …

Member Avatar for waldis
1
123
Member Avatar for linq

it is the classic "hello,world" example, I am using VC++6.0,when I create a project and include the .h and .cpp file into it and compile, it pops out these errors: --------------------Configuration: chapter 1_0 - Win32 Debug-------------------- Compiling... hello.cpp Linking... nafxcwd.lib(thrdcore.obj) : error LNK2001: unresolved external symbol __endthreadex nafxcwd.lib(thrdcore.obj) : error …

Member Avatar for Ancient Dragon
1
98
Member Avatar for leonpwhirl

okay, I haven't had to do much development work in c++, I spend most of my time in c#. I am trying to finish a course and my teacher gave an assignment on dealing with union and bitfield structure. The assignment is: [COLOR=#000000]Write a C++ program that reads a 64-bit …

Member Avatar for leonpwhirl
1
748
Member Avatar for complete

Included file not found during compile time. This must be an easy question for you to answer. I have a header file (basetsd.h) that is located in the C:\Program Files\Microsooft Visual Studio\VC98\Include directory. Where do I set the path to this header file? I don't want to hard code it …

Member Avatar for FireSBurnsmuP
1
177
Member Avatar for yeya

Hi, I'm doing a VC++ project, which requires me to create multiple CWnd objects and put them into one dialog box for viewing. For example, I need to create 100 buttons with 1-100 written on them, and put them into one dialog box. Of course the dialog box can't show …

Member Avatar for Ancient Dragon
1
93
Member Avatar for yadavvirendra

# include<iostream.h> int main() { int ar[2]={8,2}; // (1) int var1=66; //(2) int var2=111; //(3) int* ptarray[5]; //(4) ptarray[0]= ar; //(5) ptarray[1]= &ar[1]; //Address of second element of array ar // (5) ptarray[2]= &var1; //(6) ptarray[3]= &var2; //(7) ptarray[4]= &ar[0]; //(8) // To keep code small I use a loop …

Member Avatar for Micko
1
123
Member Avatar for CurtisBridges

I have a group project of designing the old board game "CLUE" in my C++ class that can be played by 1 person against the computer. If someone would help me get started it would help a bunch. I think this could be a neat project, but have no clue …

Member Avatar for ~s.o.s~
1
129
Member Avatar for CurtisBridges

Would somebody chck this code please. I am a struggling C++ student and need all the help I can get. Thanks, Curt [COLOR=#008000]Here are the directions: [/COLOR] create a function that check's the number, put's out whether it's odd or even and adds it to the total variable [code] [COLOR=#0000ff]#include[/COLOR][COLOR=#800000]"stdafx.h" …

Member Avatar for ~s.o.s~
1
141
Member Avatar for isaacmacdonald

I wrote a simple program that sums the square of integers m -> n. If sum is declared as [B]double[/B] it gives something like 4.16..x10^10 for integers 1 -5000. However, if sum is declared as an [B]int, [/B]for the same range it reports -1270505460. Obviously this has something to do …

Member Avatar for FC Jamison
1
173
Member Avatar for ssowmya

Hi, Hi friends i am new to this site.Am happy to tell you guys out there that i liked this site and all the effort that everyone has put to keep this site going. Now coming to the point,i need to decide on a project possibly in c/c++/java which is …

Member Avatar for Grunt
2
961
Member Avatar for weltonalicia

How do you start to write a program when you are asked to use an output statements to print three first letters of your first name in big blocks. I started off with. #include " stdafx. h" #include <iostream> using namespace std; int main () { // Statement Cout << …

Member Avatar for FireSBurnsmuP
0
66
Member Avatar for darkwizard

I have been using c++ for around an hour and a half but I am having problems with my calculator, It doesent work at all, it compiles though. here can you fix it up tell me what i did wrong. [code]// Calculator.cpp : Defines the entry point for the console …

Member Avatar for lakshmi.1987
0
114
Member Avatar for sugantha

I ve read that iostream is a derived class of fstream ,so including the "fstream" header is all sufficient to perform console i/p and o/p(ie cin and cout) .this worked fine as long as I used Turbo C++ compiler but now I ve switched to Bloodshed Dev C++ compiler and …

Member Avatar for Salem
1
126

The End.