Beginners - July 2017 (Page 11)

by Dmtg93
Need help with a grade processor assignment using arrays.. (1,2,3,4)
 
So my teacher is giving us a week to do this and I dont really have time to read all the material in...
[78 replies] Last: Time to show us all your code. I'm surprised int scores {0} worked th... (by closed account 48T7M4Gy)
by stav
problems with __declspec(dllexport)
 
I'm trying to make a game engine library but i'm having some trouble with setting up the project, pr...
[6 replies] Last: that's 4 times the same reply (by goldenchicken)
how to push filestream into a char pointer
 
as practice , my goal is to read from a file called test.txt and display the length of each word ...
[4 replies] Last: Here is it in gool old plain C99 /* Simple prog to read words from a... (by Thomas1965)
Can any one solve this qns.
 
How to convert the following fractional decimal number to binary by using sum of power of 2 method? ...
[5 replies] Last: Mr. Jonnin Thanks for your response. 1/2= 1* 2 power -1 = 0.1 how ... (by r 4 raja)
It is possible to craft Mobile app in C plus plus programming Language.
 
If you use Windows you can do it in Visual Studio. https://blogs.msdn.microsoft.com/vcblog/2017/04/1...
[no replies]
can't understand why cout << someInt << endl; returns 65
 
I ran the code below on my terminal and it returned A 65. I understand why it returned A but I am ab...
[2 replies] Last: Just a quick note, please make your title give a clear description of ... (by goldenchicken)
by mrsh
least aquare method
 
hi,i would like to ask on how to fit curve with equation y=-ax-bx^2 using least square method.
[2 replies] Last: Set: squared error, S = Σ(y+ax+bx 2 ) 2 Set the partial derivatives... (by lastchance)
Storing strings/integers to be used in a different class from seperate file.
 
Hello forum hope you're all having a sweet day, Im new to C++ and am trying to make a text based gam...
[7 replies] Last: Okay so I've done some work, having a hard time understanding but gett... (by MoreUmph)
packaged function object runtime exception
 
I am trying to test a packaged task, using std::packaged_task. I am unsure why this code generate...
[5 replies] Last: thanks, I was linking as follows: g++ -g -Wall -o "%e" "%f" -L /usr/... (by bluefrog)
not sure why the cout returns 65.
 
Can someone please explain to me why cout << someChar << " " << someInt << endl; returns ...
[2 replies] Last: got it! thanks for explanation! (by ahswong)
Ofstream problems
 
Good day everyone, I have a problem in my program, when i use ofstream called write, main.exe starts...
[8 replies] Last: Hello Misenna, I think i didn't explain my question clearly, sorry. M... (by Happilicious)
Need help with my mock exam
 
We are given a main and we have to code the classes without additional includes and so on (of course...
[8 replies] Last: > I would be nice if the order can be solved, but it is possible that... (by sapi3ntia)
change all objects that contain a certain value
 
hello everybody in the following code, i want to change all elements of "a" that contains any eleme...
[7 replies] Last: Here is a third version: #include <iostream> #include <vector> #incl... (by JLBorges)
#pragma & #pragma once usage
 
Hi , I don't have any Ideas about what these preprocessors will do. Can anyone please explain ? ...
[3 replies] Last: Hello King Of CPP, You may find this line useful. I use it quite ofte... (by Handy Andy)
Please tell what will be displayed
 
class Node{ public: int data; Node * next }; Node *p1 = new Node, *p2 = new Node, *p3 = new Node;...
[1 reply] : Please do not double-post. Other thread: http://www.cplusplus.com/foru... (by keskiverto)
remove common elements from two vectors
 
hello i made a code to remove all common elements in two vectors of objects. firt i'd like to know...
[6 replies] Last: oh, i got it. thanks for the answer :) (by Stauricus)
by H00G0
'stoi()' was not declared in this scope.
 
Hello! I'm currently having an issue trying to compile a simple code in dev-C++. I'm working w...
[14 replies] Last: Thanks gunnerfunner. (by Thomas1965)
by zxcvbn
Questions about the serial programming of 28335
 
Hello~all,thank you for spending time in reading my thread.I have some troubles.The following states...
[no replies]
dynamic allocation problem
 
Write your question here. #include <iostream> #include <cmath> using namespace std; str...
[2 replies] Last: delete structObj; with std::unique_ptr<> or std::shared_ptr<> such ... (by gunnerfunner)
shared future with single promise
 
I am trying to understand the code below, which has three future threads running, but only a single ...
[3 replies] Last: thanks. the discussion by Howward on the link you provided makes sens... (by bluefrog)
July 2017 Pages: 1... 9101112
  Archived months: [jun2017] [aug2017]

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