Beginners - December 2016 (Page 4)

Calling a return method with parameters in the background thread
 
Hello. I am a bit confused about calling a return method with parameters in the background thread. I tried to do it with async: class myClass { public: m...
[5 replies] Last: I also tried a different way. I have created a global variable in my m... (by igorland)
by Tomal
94 to the power of n combinations of n long string of char
 
I'm sorry for this title, but i have no clue how should i name it. So as input, i set value of variable n, and this program should write to text file differe...
[1 reply] : void write_all_strings( std::ostream& stm, std::size_t n, ... (by JLBorges)
Post fun questions here!
 
Hi, I'm still a beginner at programming and I do not have any classes or assignments and stuff. However, I would like to get more familiar with programming and ...
[8 replies] Last: This assignment requires vectors, but you could also use arrays but th... (by Itago)
by ysf007
what does #IND mean ?
 
Dear community, what -1.#IND means ? cout <<u /abs(v )<< " ^ " <<(1/beta)<<" = "<<pow((u /abs(v )),(1/beta))<< endl; I'm getting this output 0...
[4 replies] Last: How about this? cout << "0.361351 ^ 0.666667 = " << pow (0.361351, 0.... (by Itago)
can't be converted from 'std::string' to 'LPCSTR'
 
Im trying to make a file downloader with customizable path but i can't get it working string path; getline (cin, path); URLDownloadToFile(NULL,"htt...
[3 replies] Last: solved (by AndreGS)
Strcpy causing crash
 
Hi there. I'm just learning about binary trees so I apologize for the lack of comments. Basically, this program is supposed to be a sort of A.I. learning progra...
[7 replies] Last: If you are using Visual Studio 2015, here's a very simplified guide to... (by closed account E0p9LyTq)
Arrays c++
 
Task 3: AboveAverage Write a program to analyse student results and output the names and marks of those whose marks are above average. The program should prom...
[6 replies] Last: Thanks alot chervil for the explanation! (by imohamme5)
by mosfet
Operator new[]
 
I don't clearly understand the difference between the simple instance of an object as: LogicGate new_logicgate; and instance through new operator as: ...
[1 reply] : http://stackoverflow.com/questions/6337294/creating-an-object-with-or-... (by closed account 48T7M4Gy)
Need help for my program ! Urgent PLEASE!!
 
This is my program to calculate the emitted power for two type of light. After I change the normal if else statement to function , it cant run and I have no i...
[3 replies] Last: Still no physics but a little more rationalisation and simplification:... (by closed account 48T7M4Gy)
Binary Tree program infinite loop
 
Hello, I'm running into what I presume is a logic problem. However, I can't seem to find it in my code. Please note that the readTree() and writeTree() function...
[3 replies] Last: I ran your program before I made the comment above. The difficulty is ... (by closed account 48T7M4Gy)
Need help with drawing a flowchart of a binarry tree
 
Write your question here. Hey guys, i need help drawing a flowchart of a binar tree Draw a flowchart of Creating a binary tree and traversing it as preorder...
[1 reply] : Yawn! http://lmgtfy.com/?q=Draw+a+flowchart+of+Creating+a+binary+tree... (by closed account 48T7M4Gy)
Question please
 
Hello all, what's is line 5- line 9 here, it doesn't look like a function. Is it a class? how does it work here if so? #include<iostream> #include<conio.h...
[3 replies] Last: One example here on fractions, I coincidentally found for other reason... (by closed account 48T7M4Gy)
by josej
Functions and Arrays help
 
I keep getting an error saying that "Reference to 'array' is too ambiguous" Note: I am using Xcode for MacOS Thanks for any help #include <iostream> ...
[3 replies] Last: #include <iostream> using namespace std; const int SIZE = 5; void ... (by closed account 48T7M4Gy)
No return value
 
So all of my functions work. The problem is assigning a return value so the price adds to a variable each time the user selects a product. Driving me crazy. ...
[3 replies] Last: Just tried it and everything work. Thank you so much. I completely u... (by chris200712)
Input problem
 
Hi, this is my first project. Its a money change program that calculates how much change in denominations to give back. The problem is when I input a x.x6 t...
[2 replies] Last: Thank you very much. I've made the changes and it works perfectly now... (by VeniVidiVici)
by rviens
Coordinates for elements in an multi-dimensional Array
 
Hello, I'm pretty new to the C++, and I've been given an assignment to create a square 2D array (I'm translating it literally, I'm sorry, it's not in English, ...
[10 replies] Last: xismn, thank you very much for the help! You basically did the assign... (by rviens)
Local Vs. Global Variable
 
Hello Everyone! This is my first post on this forum and I'm excited to get involved in this community! I'm having difficulty understanding why the local...
[9 replies] Last: http://stackoverflow.com/questions/3698043/static-variables-in-c (by closed account 48T7M4Gy)
How to display all descendant Vectors in Family Tree
 
I am unsure how to go about solving this. I am almost certain solving this recursively is the way to go but I'm not quite sure how to go about it. I have a stru...
[4 replies] Last: Ahhh that makes sense. Thank you for the clarification(: (by kingkush)
by VX0726
No Matching Function Call To:
 
Hello fellow programmers, I am making a program to input a student's information (name and birthday) and his/her grade in percent, and will display it, includi...
[12 replies] Last: No, no, no, you did very well Chervil. You have helped so much. (by VX0726)
Header File
 
I am using Dev C++ and am having difficulty getting it to recognise my header file. Can someone tell me how to create a header file and include it in my .cpp fi...
[5 replies] Last: Does this include the Windows versions? Last time I tried code::block... (by gunnerfunner)
December 2016 Pages: 123456... 28
  Archived months: [nov2016] [jan2017]

This is an archived page. To post a new message, go to the current page.