Beginners - October 2014 (Page 46)

by BBGUN
Delete
Deleted
Oct 12, 2014 at 7:53pm
[1 reply] : I believe you're going beyond the bounds of the array, and the program... (by TheKingOfTyrants)
by akai09
quick questions
hello everyone, i've got a quick questions to ask. assuming a = 1, b = 2, c = 3, d = 4 if d='4' is it true is d='4' and d=4 the same? without ''? and if !(d...
Oct 12, 2014 at 7:41pm
[9 replies] Last: the !(d = 3) won't work. if (d != 3) better. d not equal to 3 is tru... (by closed account 1CfG1hU5)
Initializing struct in class
Hello, Having issue initializing a struct inside a class. I believe I'm doing everything correctly, but the program isn't compiling. Code and compiler error: ...
Oct 12, 2014 at 6:36pm
[2 replies] Last: Sorry, fixed those mistakes. I didn't want to post the entire code bec... (by hyperfine)
How can I have multiplication table, in txt output?
Dear Friends, Would you please help me why the txt output is not in table shape? But the compiler screen show is in table shape? #include <iostream> ...
Oct 12, 2014 at 5:38pm
[2 replies] Last: Lots of thankssssssssssssssssssssss (by spring2014)
Beginners linked list
Hey guys. I made a linked list. I would like to do threw the entire list and add all the data. Any ideas? #include <iostream> #include <string> using name...
Oct 12, 2014 at 5:08pm
[2 replies] Last: Why do you need line 1 and line 5? Can you explain to me what they are... (by Rashad2)
Basic type misunderstanding in OpenCV programs
So I'm pretty new to OpenCV and I keep running into programs using casting from int to (inputarray) or other opencv classes. Here's an example: DLLIMPO...
Oct 12, 2014 at 4:41pm
[no replies]
Why the txt output is different that compiler screen?
Dear Friends, This codes read 9 numbers from a .txt file and writes the results in another txt file. ut I do not know why the what compiler show in screen in d...
Oct 12, 2014 at 4:40pm
[no replies]
& pointer operator help
So heres this line I have: try { warpPerspective(*((oclMat*) src),*((oclMat*) dst),*((Mat*)M),*((Size*) dsize), flags, borderMode, (Scalar&) borderValue) ;}...
Oct 12, 2014 at 4:27pm
[4 replies] Last: thanks again miinipaa (by DaGoblin)
* question
So I know *a is "pointed to by a" and int * a means a's type is a pointer to a int value. So I came across this: DLLIMPORT int lv_FeatureEvaluator_create(in...
Oct 12, 2014 at 4:26pm
[2 replies] Last: that helped thanks (by DaGoblin)
How to sort 3 integer
I'm studying C++ by 3 weeks and I'm reading : programming priciples and practices using C++.At chapter 3 I have to write a program for this problem : ...
Oct 12, 2014 at 4:22pm
[4 replies] Last: Yes you can. I put the if-statements there as a generic method for sol... (by Smac89)
Homework Question (Program posted)
Hello, I'm in a C++ programming class. We were given the assignment to "Write a program that asks the user for a positive integer value. The program should use...
Oct 12, 2014 at 4:21pm
[3 replies] Last: Also, try sum += x; in your loop. At the moment you are adding your in... (by Charles1992)
Why canot this code read and write txt file?
Dear Friends, I want this code get "t" 9 times from input.txt at desktop and save the acc(t) results in array forms in output.text file in desktop. But whil...
Oct 12, 2014 at 4:20pm
[14 replies] Last: Have you enabled C++11 support in the project properties? Try this l... (by Tom56785)
User defined function cosx
So it gives me pow no overloaded? Does that even make sense? It's also giving me a few syntax errors but i can't see why double on the first line of defining th...
Oct 12, 2014 at 4:18pm
[3 replies] Last: I have no idea what you mean. Can you please start again. Assume we ... (by kbw)
#includes
hi everyone, i want your help on some questions and i will appreciate your responce so much, well i have been wondering for sometimes and i still don't underst...
Oct 12, 2014 at 3:49pm
[5 replies] Last: so you mean when I run a program the exe object is run? Yes. I... (by AbstractionAnon)
Looping Question
My question is: How would I just loop the output of (cardB == cardA)? Let's say for example, if the outcome was a tie, hence cardB == cardA, how would I add a l...
Oct 12, 2014 at 3:20pm
[1 reply] : All you have to do in this is to add a "do" loop around the code you w... (by Tom56785)
Unresolved External Symbol Error
Solved. Due to protect my code from plagiarism.
Oct 12, 2014 at 3:07pm
[2 replies] Last: Thank you I did it but I have another error now. Unhandled Exception. ... (by onefourseven)
can constructors prevent instantiation?
I would like my constructor to validate the passed parameters. If the parameter values are not valid, I would like to refuse the instantiation of the object. Is...
Oct 12, 2014 at 2:07pm
[6 replies] Last: ... First of all there are things that just can’t be done right wit... (by JLBorges)
Program17
Hello, I can`t get this code compile #include<iostream> #include<vector> #include<algorithm> #include<cmath> using namespace std; //compute mean...
Oct 12, 2014 at 12:33pm
[3 replies] Last: I fixed line 27: sort (temps.begin(), temps.end()); (by pacman169)
program with while
Hi guys. I need some help. I have a program to write, but i have many questions. program is: I need to write program who counts total of "a". a=m*m/(n-m) "m"...
Oct 12, 2014 at 12:14pm
[no replies]
display a string for 3 seconds and then redirect
If the user enters a wrong password I want the "wrong password" message to flash on the screen for like 3 seconds and then direct the user to the access() fun...
Oct 12, 2014 at 11:38am
[4 replies] Last: Thanks! (by omkarborkar95)
October 2014 Pages: 1... 4445464748... 70
  Archived months: [sep2014] [nov2014]

This is an archived page. To post a new message, go to the current page.
Registered users can post in this forum.