49,761 Topics

Member Avatar for
Member Avatar for RIJIN

build link error 1>------ Build started: Project: Circular_Link_List, Configuration: Debug x64 ------ 1>Build started 12/30/2012 11:36:28 AM. 1>PrepareForBuild: 1> Creating directory "C:\Users\RIJIN\documents\visual studio 2010\Projects\Circular_Link_List\x64\Debug\". 1>InitializeBuildStatus: 1> Creating "x64\Debug\Circular_Link_List.unsuccessfulbuild" because "AlwaysCreate" was specified. 1>ClCompile: 1> main.cpp 1> ListNode.cpp 1> Circular_Linklist.cpp 1> Generating Code... 1>main.obj : error LNK2019: unresolved external symbol "public: …

Member Avatar for RIJIN
0
2K
Member Avatar for arpitagrawal294

This is my code... i'm getting error that "Primary expression missing" in all places where i have ritn desc[i].code or desc[i].cost. May be i'm using wrong syntax for strcutures; #include<iostream> #include<conio.h> using namespace std; struct desc { int code; int cost; }; void del(int x, int count) { int i; …

Member Avatar for arpitagrawal294
1
182
Member Avatar for mystra

Hi guys, I need some help with a particular part of a C++ DirectX game. My course has tasked me with creating a game similar in look and function to the old missile command arcade game (something like [this](http://www.youtube.com/watch?v=t-cD0XdyQ7s)), however I have hit a bit of a wall in terms …

Member Avatar for Chase.Dangerfield
0
255
Member Avatar for ahpple.gonzales
Member Avatar for PrimePackster
0
234
Member Avatar for 浩霖
Member Avatar for ravenous
0
172
Member Avatar for efe.ozyer

Hi guys, i want to create mfc application in custom DLL, another C++ application init dll dialog will be shown is it possible?

Member Avatar for Ancient Dragon
0
111
Member Avatar for sciwizeh

Hello, I have some java code I want to port to C++, and first class in the Heirarchy has me stumped. I'm trying to port a simple parsing framework as an exercise to figure out how it works internally, and almost everything in the framework requires, uses, or is `PubliclyClonable` …

Member Avatar for sciwizeh
0
432
Member Avatar for britto

# Simulating mouse click # #include <windows.h> using namespace std; // Forward declaration of the LeftClick function void LeftClick ( ); // Forward declaration of the MouseMove function void MouseMove ( int x, int y ); int main() { MouseMove(100, 100); LeftClick(); return 0; } // LeftClick function void LeftClick …

Member Avatar for triumphost
0
3K
Member Avatar for robinotje

Hello everyone, I'm new to C ++, and I want to know how to delete a whole folder. I've tried to do this, but it doesn't work. Can anyone help me? [CODE]#include <iostream> #include <stdio.h> using namespace std; int main() { remove ("c:\\users\\asus\\new"); return 0; }[/CODE] I'm running Vista, and …

Member Avatar for Ancient Dragon
0
15K
Member Avatar for raphael1

I followed a tutorial online on how to create a obj file parser, so far my parser reads a obj file and stores all the vertices into a struct named coordinate. Am not quite sure, how to use the coordinates in my struct in my main graphic pipeline My parser: …

Member Avatar for happyHacker
0
453
Member Avatar for happyHacker

I'm in the middle of reading "Windows Internals 6th edition", and after mentioning 32 bit threads running on 64 bit Windows have 3 stacks, one user-mode 32-bit, a 64-bit user-mode, and a kernel-mode stack (along with a 32 bit CONTEXT and a 64 bit CONTEXT "block")--when it proceeds to explain …

Member Avatar for happyHacker
0
458
Member Avatar for raphael1

I got win32 application, that runs a infinite for loop, which increment a value inside the loop. the problem am having is that my application become unresponsive and uses alot of CPU when compiled. case IDM_ROTATION: for(int i = 0; i < 4; i++) { i = 0; rotation += …

Member Avatar for tinstaafl
0
237
Member Avatar for supanovabay.kebede

Can mobile phones run c++ compilers such as borland and turbo? If yes pls do tell where i can download them thanks

Member Avatar for PrimePackster
0
141
Member Avatar for marco.lanza.507

Hi Everyone, I have been trying to post a code by I am not able to do it; I might the wrong but I am following all the rules; I don't know what else to do; please help. I will try to copy as follows (it might works) :) #include …

Member Avatar for marco.lanza.507
0
342
Member Avatar for tensity

My objective is to read in a line from a text file, then search that line for a particular set of characters/numbers, and finally, if the line contains the particulars, write the line to another file. I am fine with all of the coding, except the part of searching the …

Member Avatar for Ancient Dragon
0
102
Member Avatar for vikuseth

#include <iostream> class Hello { public: void Test() { std::cout << "Testing" << std::endl; } }; class Hi { public: Hi() :hello(new Hello()) {} ~Hi() { delete hello; } void Testing() const { hello->Test(); } private: Hello * hello; }; int main(int argc, char ** argv) { Hi hi; ; …

Member Avatar for vikuseth
0
286
Member Avatar for markwiering

**Hello everybody!** My program which is able to calculate your age, has been **updated!** See http://www.daniweb.com/software-development/cpp/threads/432997/age-calculator for the old version. The programs asks your **birthdate** and the **current date**. With that information, the program is able to calculate your age. It calculates the years, months and days. This program is …

Member Avatar for innocentmeshi
0
476
Member Avatar for silvercats
Member Avatar for maria ishaq

i want a program on c++ language using dev project name is phone directory .............plz if any one have this program send me i need it urgent

Member Avatar for deceptikon
0
33
Member Avatar for nathan_jun2

hello guyz!need help.. I have a txt file written like this 1,ben, 200.00 2,mike,300.00 I want to create a program that can search in the text file. I just only enter the ID number or the first number in the text file then the program will search that No. The …

Member Avatar for Ancient Dragon
0
3K
Member Avatar for plang007

Has anyone found any compilers to work with windows 8 besides Microsoft studio? I have tried downloading Dev C++ and code::blocks but keep getting build errors? I have used both of those compilers on window 7 for multiple programming purposes.

Member Avatar for caperjack
0
154
Member Avatar for marnun

> Write a recursive, bool-valued function, containsVowel, that accepts a string and returns true if the string contains a vowel. > A string contains a vowel if: > The first character of the string is a vowel, or > The rest of the string (beyond the first character) contains a …

Member Avatar for marnun
0
514
Member Avatar for sripad44
Member Avatar for silvercats

*Can't access private member declared in class 'Sales_item'* Visual studio 2010 my compiler. here is the "Sales_item.h" header file. http://tny.cz/b7f276dd here is the code that I ge the error #include <iostream> #include "Sales_item.h" using namespace std; int main() { Sales_item item; Sales_item item2; cout<<"Enter item names"<<endl; cin>>item>>item2; if (item.isbn()==item.isbn ()) …

Member Avatar for Gonbe
0
136
Member Avatar for VISPFORALL

CAN ANYBODY PLEASE TELL HOW TO LEARN C++ Coding. . . WHENEVA EXAM'S COME I WAS CONFUSED HOW TO START LEANING. . .AND ALSO I WANT TO KNOW . . IS THAT THEROY IMPORTANT. . . BEACAUSE C++ IS A LANGAUAGE OF CODING. . . .PLEASE HELP ME TO MAKE …

Member Avatar for tinstaafl
-1
106
Member Avatar for vikuseth

Sample_Program-1 #include<iostream> using namespace std ; int main(){ const int i = 9; int *j = const_cast<int*>(&i); //Ok int *j = const_cast<int*>(i); //Error } Sample_Program-2 #include<iostream> using namespace std ; int main(){ const int i = 9; int j = const_cast<int&>(i);//Ok int j = const_cast<int>(i);//Error } I was just learning …

Member Avatar for vikuseth
0
116
Member Avatar for deepecstasy

Here is my splay function: template <class WA> void SplayTree<WA>::Do_Splay(SplayNODE<WA> *temp) //temp is the node which is to be splayed { if (temp==root) //if temp is root then { return; } //Do Nothing else if (root->left==temp || root->right==temp) //else if temp is a child of root { if (root->left==temp) //if …

0
83
Member Avatar for new_developer

Hi everyone, I have a simple problem related to string, but I did not notice before that we can't give space in string input. For exmaple in the following program, take name input from user. If user enter M John, it will skip the enter email input(and the program will …

Member Avatar for new_developer
0
176
Member Avatar for crazyboy

Invalid sequence in stack permutation ???? inpurt sequence ... 1 2 3 4 5 1) 4 3 5 2 1 2) 2 3 5 4 1 3) 5 4 3 2 1 4) 3 4 1 5 2 Answer is .... 4) ..... but i dont know how ? can …

Member Avatar for bamasohn
0
566
Member Avatar for peymankop

HI! i'v got a file like this: Lesson Name:Math Lesson File Name:1892.txt Student ID | Number ---------------------- 1892-----------20 i want to delete "20",only "20"! what i have to do? would you explain seekp,seekg,tellp,tellg... i looked everywhere for the but find nothing! please help... thanks so much

Member Avatar for peymankop
0
118

The End.