49,761 Topics
| |
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: … | |
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; … | |
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 … | |
how to write a program wether an input word is a palindrome ex. radar. | |
I want to modify the ttf or other word form use c++. can i do it? how about other language? | |
Hi guys, i want to create mfc application in custom DLL, another C++ application init dll dialog will be shown is it possible? | |
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` … | |
# 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 … | |
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 … | |
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: … | |
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 … | |
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 += … | |
Can mobile phones run c++ compilers such as borland and turbo? If yes pls do tell where i can download them thanks | |
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 … | |
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 … | |
#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; ; … | |
**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 … | |
change the book or something? | |
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 | |
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 … | |
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. | |
> 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 … | |
*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 ()) … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 |
The End.