Beginners - February 2016 (Page 26)

SendMessage function
 
Have to cast SendMessage function as (HWND)for the program to compile. But the software freezes. Also when debugging VS2013 complains + hActiveWnd 0x0050...
[2 replies] Last: Main Windows handle. (by SteveOshnall)
Need help getting started on an assignment
 
I got this over complicated question today about overloading. The part i need help is basically everything to do with the polynomial and arrays part. I understa...
[8 replies] Last: How do you multiply polynomials? Multiplication is inherently more ... (by Chervil)
Weird linker unresolved external symbol errors
 
For some reason the code below is throwing these linker errors: 1>main.obj : error LNK2001: unresolved external symbol "public: __cdecl Array::DArray<int>::~DA...
[2 replies] Last: I have tried the solutions presented in the forums above, unfortunatel... (by mathusummut)
by qsqais
"File name".exe has stopped working
 
Dear All, I am very new in C++ programing. I tried to write a C++ code, where a matrix from an input file will be created for a given condition(the condition i...
[4 replies] Last: Thanks alot once again!! One more question. Suppose my input file co... (by qsqais)
Creating an array from user inputted data
 
Hi, First a preface: I am 100% new to c++. my only "coding" experience is matlab, and excel. my assignment is to create a c++ program that asks for a number o...
[12 replies] Last: Thanks for the replies; @jgg2002 your code original code worked perfe... (by dezenzerrick)
Stockmarket Portfolio code issues
 
Here's the directions: I'll note the code where I'm currently having issues. I haven't tested the calculations because I missed something with the first half of...
[3 replies] Last: You declare percentChange as a in int but then you compute the value a... (by dhayden)
time functions
 
i am trying to make a cpp program that calculates time based on what u entered.. pseudo code 1.enter time in x seconds 2.get current time 3.add seconds to ...
[1 reply] : http://www.cplusplus.com/forum/beginner/1/ (by TarikNeaj)
Keep receiving a segmentation fault.
 
I was thinking the problem was around p_p_tictactoe = new int* ; result: Please enter a number of rows: 4 Please enter number of columns: 3 Enter a sin...
[7 replies] Last: Change to: for (int i = 0; i < rows; i++) // Note: remove - 1 { ... (by coder777)
Round Robin Algoritm
 
Hellow! I would like to know if someone has the Round Robin Algoritm in c++?? I hope you can help me :)
[1 reply] : http://bfy.tw/4HdV (by TarikNeaj)
by nanJIL
c++ coding basic
 
Can someone explain to me this code? #include<conio.h>
[1 reply] : conio.h is a non-standard header that comes with some compilers. It ha... (by Peter87)
by blkpny
How to create Helper Function (Please Help!)
 
New to programming and C++. I need to incorporate a helper function in my code. One example is called: GetCar #include <iostream> #include <string...
[5 replies] Last: No you can just put this Car definition, getCar definiton somewhere in... (by etrusks)
Need help with std::array and class
 
I'm a newbie to C++ programming. Need some help working with STD::arrays. I'm trying to pass the values of an array to a function, then display the value. Pleas...
[2 replies] Last: Yes. that helps a lot. Thanks for breaking down the code. (by jokeriswild)
by tyooo
New and confused (1,2)
 
I have posted this code multiple times and haven't gotten an answer that works with my code usually I am told to just remake it in a completely different way. I...
[20 replies] Last: True haha, You sound like you are really into this stuff haha. Problem... (by tyooo)
by kinley
Random Number Interview Question
 
Hi, I had this question in my internship interview today and they only wanted to know the pseudocode. Input: A bag of balls with numbers from 1 to 52 Output...
[4 replies] Last: Thank you very much! Also, found this topic https://en.wikipedia.org/... (by kinley)
push_back and pop_back not working
 
here is a little test i wrote to demonstrate my problem std::vector<int> test(10); int num; for(int counter = 0; counter < 10; counter++) { std::...
[2 replies] Last: Thanks, oh god how did i not see that (by manny15)
Random Number Generator stuck at same values
 
In the code I am trying to create, I am using a random number generator to get two values between 1 and 999. However, in all the times I've run the program, the...
[4 replies] Last: Sweet! Thanks for all the help! (by gdsturgill)
Graphical representation of numbers using asterisks
 
First of all, I'm completely new to C++, having had no prior coding experience using the language. I'm slightly stumped and would appreciate a steer in the righ...
[5 replies] Last: Thanks! That was exactly what I was looking for. Can't believe it was ... (by QK11nhu)
Keep getting this error..
 
I keep getting this error, although I'm not sure why "hw3.cpp:7:1: error: expected initializer before 'int' int num_vow (char ch, int vow){ " Here's my ...
[1 reply] : Please use code tags for your code to make it more readable - http://w... (by TarikNeaj)
Please explain one instruction
 
What does the following statement mean? What I need to know is, for example, what (1<<29) mean (and (1<<29)+5, etc). int testnums = {0, 1<<29 , (1<<29...
[1 reply] : Basically, it's a very very large number. The << operator is the le... (by TwilightSpectre)
by tnt980
Help with computing log base
 
i need to write a program that computes log base b I'm getting these errors main.cpp:28:10: error: called object type 'double' is not a function or function p...
[1 reply] : Not very smart naming the variable the same name as teh function "log"... (by TarikNeaj)
February 2016 Pages: 1... 2425262728... 46
  Archived months: [jan2016] [mar2016]

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