Beginners - February 2013 (Page 45)

by nueur
Converting 32bit tiff to 16bit tiff libtiff
 
Hey guys, I've trying to convert a 32 bit tiff to 16 bit using libtiff. I'm hardly a master with this stuff and everything I'm trying isn't working. I wonder i...
[no replies]
Help with HashTable
 
I have to design a program that reads in an input file, stores the text from the .txt file into a hash table then when we type in info into the console it shows...
[1 reply] : http://cplusplus.com/reference/unordered_map/unordered_map/ http://cpl... (by MiiNiPaa)
by rcast
access class member variables
 
I need to access variables from a class member function, outside of the class. I'm not sure how to do this? I attempted with bits and pieces I've seen, but it d...
[7 replies] Last: Forgot to mention, you would need to type Health::CalculateBMI(blah,... (by LB)
Read and write to a text file. HELP
 
Hey guys! I'm a beginner to c++ and I want to know how I would be able to have a read or write function to a separate file. I'm creating a launcher for minec...
[5 replies] Last: Sadly lines in server.properties are not guaranteed to follow any part... (by MiiNiPaa)
by wmdino
Function Libraries?
 
All, does anyone know of any free (or even not free) collection of common functions such as converting strings to numbers (with error checking, etc.) and stuff...
[4 replies] Last: Something like this? #include <boost/lexical_cast.hpp> try { i... (by closed account 3qX21hU5)
by s1l3nt
Variable Declared Globally but has no value?
 
So I am creating this program to make a receipt. Keep in mind that the program is nowhere near done, this is just the basic shell of the program, with little, v...
[5 replies] Last: Thank you very much! Just as a beginner, alot of things dont make sens... (by s1l3nt)
Sorting data from file into array
 
I am suppose to read ints from a text file and sort them as I insert them into an array of size 10 without going out of bounds. Doing that was not a problem,...
[no replies]
by Ch1156
Help with word translator
 
Ok i started another translator this time it translates words i created to and from english, but i have a few errors i cant figure out. there were literally 50 ...
[17 replies] Last: bump (by Ch1156)
by Krahl
vector arguments
 
Hello I have 2 questions. 1. I am instructed to make a function with the following declaration; void Function(std::vector& vec); Is this a mistake or i...
[2 replies] Last: Thanks Jim. (by Krahl)
Program to count individual vowels
 
Hello all, I need to write a program that reads in 1 text character at a time and counts the number of individual vowels. It was also suggested that I use a wh...
[1 reply] : Post the code so we can see it and guide you in the right direction...... (by detroit)
by gmby99
Need Help with this.
 
Hey Guys, im new to programming and was working on a very simple program. I started from scratch and managed to work my way thru the end but now i can't s...
[4 replies] Last: How so I add a loop at the end asking them to enter new set of numbers (by gmby99)
error: changes meaning of ‘format’ from ‘enum gli::format’ [-fpermissive]
 
Hello forum, I am not getting exactly what the error means . It is as follows: sajjad@sajjad-G74Sx:~/Documents/Books/OpenGL/ShaderCookBook/glslcookbo...
[no replies]
by tpinon
ignoring switch case?
 
For some reason it's ignoring the instruction under each case. The menu appears, I select an option and it just skips to "would you like to run the program agai...
[3 replies] Last: omg what an idiot i am! :) thanks guys (by tpinon)
c++ program
 
i want to write a function that would go through an array and see if all of its elements are the same. We return true iff all the elements in the array are di...
[2 replies] Last: If I correctly understand what you meant, maybe this will help bool... (by arzhon)
by tpinon
[linker error] help
 
I'm not sure why I'm getting this error. This is the first time I use functions. Any suggestions? [linker error]undefined reference to 'Output_Rectangle(int...
[2 replies] Last: You do not return any value from function Menu. (by vlad from moscow)
by TMix
Debugging a function with arrays
 
Hello everyone, I'm working on debugging some code (this is a homework question, but I only want to be guided in the right direction) and I can't seem to figure...
[1 reply] : consider 2 approaches #1, comment out everything that doesn't work and... (by SamuelAdams)
#ifs and assert()s
 
Hi there. I'm studying C++ out of C++ for dummies, 6th edition. When it comes to #ifs, I get the general idea of what it's supposed to do, but I have trouble...
[3 replies] Last: Intrinsically defined constants are constants that are defined by the ... (by AbstractionAnon)
I need help rounding interest
 
I had to make an if else program calculate interest for a class, well just to return the percentage you'd receive but I'm adding the interest earned for it. I u...
[2 replies] Last: Thanks it helped! (by Brandonyoungblood)
Unknown but thirsty for knowledge... Automatically executing
 
Hello all, I´ve got a problem wich awnser seems to be find in c++, but I haven´t any knoledge about this language. Loops and other methods are well known fro...
[no replies]
by mirec
word replace.
 
hi how can I make one of the underscore on line elleven change to some letter/ I tried to put p.replace(p.begin(),p.begin()+pos+1,letter); in the for loo...
[1 reply] : I have understood nothing. But maybe this code will be useful for you ... (by vlad from moscow)
February 2013 Pages: 1... 4344454647... 67
  Archived months: [jan2013] [mar2013]

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