48,986 Topics
| |
Hi all, I have an xml file with some information inside it. I want to load this xml during runtime and generate an equivalent HTML document for this xml file. All this needs to be done programatically and on the fly during runtime. How could i do this? I'm using … | |
Hi. I'm trying to use brace-initialization notation: int number{}; But I get the following error: "expected an expression". Shouldn't c++11 allow this kind of initialization? int number2(4) works just fine. Thank you. | |
Your Math class has five 100 point tests over the course of a semester (and nothing else that counts toward your grade). In addition to getting an average score of 70/100 you must pass at least three individual tests in order to pass the class . For example, if your … | |
Hi all! I'm having some trouble with constructors and destructors. I've been told that a constructor creates an object and a destructor destroys it. The problem is that in my code I try to destroy `straight2`, but I can still print out it's length as if it wasn't destroyed at … | |
Here is my code: #include <string> extern std::string commands[]; extern std::string shortcuts[]; int in_array(std::string ar[], std::string txt){ for(int i=0;i<ar->size();i++){ int g=ar->compare(txt); if(!g){ return i; } } return -1; } int actioncmd(char* command){ int act=in_array(shortcuts,command); if(act==-1){ return -1; } act=in_array(commands,command); return act; } I'm simply trying to find out whether a … | |
i am trying to write input() function into file..... please help.... i am using visual studio 2013 // N Copy.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include "iostream" #include "fstream" using namespace std; int _tmain(int argc, _TCHAR* argv[]) { fstream file; file.open("NCopy.txt"); file << … | |
Hi can any one tell me please does visual studio 2012 support any features of c++11? Or only in 2013 version? | |
Without using arrays, write a complete program that reads three integers from the console and outputs the same three numbers in ascending order on separate lines. For example if the input is 5 4 3 then the output will be 3 4 5. Do not prompt the user or produce … | |
Hi Dw I'm creating a wosa/xfs I've followed correctly the guide and the code has no error till I try to debug it or build it. I get this error 1) error LNK2019: unresolved external symbol_WFSStartUp@8 referenced in function "int_cdecl Wfs_Startup(void)" (?Wfs_Startup@@YAHXZ) 2) error LNK2019: unresolved external symbol_WFSOpen@36 referenced in … | |
how can i download the c++ software, like turbo c can any one give me the link? | |
Hello everyone!i'm new here and in c++ programming.I've wrote about 30 small programs and when i close the program and want it to run after, it compile well but when i'm waiting the answer, it comes and goes fast.i've tried to put cin >> a; as told me someone to … | |
Hi! To Everyone! Could you tell me how I can use GCC with that file comunicatoin, because : g++ main.cpp program1.cpp -o program1.exe - not valid - It didn't saw program1.h and all declaration in him. I had the task : Write a program that prints the numbers from 1 … | |
Hi Dw. I'm developing a system using c++ for the XFS. I've followed the documentation on how to install the SDK but the problem is that I've successfully installed the SDK but when I start to create the sample, when I try to put the required includes they are not … | |
Please help me in this code http://www.cplusplus.com/forum/general/140501/ | |
I'm really new to programming, and I really only know web scripting. But I want to excel in programming. Anyway, what languages would be used to create something like adobe photoshop? I've created about 2 programs using c++, but they're like those tutorial things where they run in DOS, and … | |
Can you initialize (easily/simply) a vector with multiple values? Like an array:`int fu[] = {1, 3, 4, 5, 6}` | |
hi :D We've been asked by our instructor to create a program that will accept your birthdate and display the chinese zodiac sign and its description using *switch* statement. Should i have to input all the possible birthdays ?or is there a shortcut for this? by the way we are … | |
hi can any one know how to program in c++ the *143# in globe all iknow is u can use if else conditional statement!! tnx in advance | |
i want to calculate the standard deviation of an arrayed elements using functions | |
Hello all, What I am doing is the following: 1. Receiving an expression 2. Instantiating Variables 3. Convert the expression from infix to postfix 4. Evaluate the expression. Now, in my evaluate function the following operators are working: + - * / and ^ I am having trouble to get … | |
Hi guys so I just finished all the basic tutorials on C++ on this channel [Click Here](https://www.youtube.com/playlist?list=PLS1QulWo1RIYSyC6w2-rDssprPrEsgtVK). I don't know if its any good but it started me off. But now I have watched everything and I am wondering where to continue and I decided to ask here. Any good … | |
| Greetings everybody, I have been developing a C++ project in VS2010. When I was writing data into a file, everything was ok. I modified the program to write data into a new array instead of a file. I had an error of stackoverflow. I checked the datatypes, array lengths etc. … |
Can someone help me about converting numbers to roman numeral 1-999 via switch statement ? please help me ! | |
Uhmm. I need help! I need a code in our case study. And I don't know how to start it. Please, someone help. I need to pass this on thursday, August 21 2014. Huhu :'( I really don't know. I'm no IT/CompScie or whatever computer related courses but I have … | |
im using windows 7 64bit along with codeblocks and mingw and im trying to use non standard c++ libaries such as SDL , allegro and sfml but when i link them and try to compile the examples some work and some dont i wonder what i did wrong ? I … | |
Develop class Polynomial. The internal representation of a Polynomial is an array of terms. Each term contains a coefficient and an exponent. The term 2x 4 has the coefficient 2 and the exponent 4. Develop a complete class containing proper constructor and destructor functions as well as set and get … | |
A need a program that will ask the persons age , type of car needed and the number of days the car is needed. if the driver is <= 25 years of age than 20% surcharged | |
Hello guys, I'm new here and with C++ and i have a problem if you are kind to help me. Me and my friend have created a small program that download yt videos and upload them on specified yt accounts entered by us, when i hit run it opens 50 … |
The End.