Beginners - July 2014 (Page 35)

strange problem in saving in note
 
hi all this is my program why when result of 'dar' Variable saves in 'far' note something plus will be save with result for example when the result is 100 ano...
[5 replies] Last: my program works fine until line 75 is there any problem after line ... (by coder777)
Code to convert temperatures
 
Hi Guys trying to implement basic code for converting temperature from Celsius to Fahrenheit. It is code from the C++ for dummies book 5th edition. I get the fo...
[3 replies] Last: Thanks everyone very helpful !!! (by maxoliver100)
Passing stuff between objects
 
Greetings! I am having problems with passing stuff between. This is what I have. Keep in mind this is translated partly from spanish. There is no "collision...
[8 replies] Last: > As for the memory leak, I do not quite understand you. > It's not po... (by ne555)
How to add 2d array to array
 
Hello i am a student learning C++ coding and only know some of the basics.What i want to find out is how do you add an array to a 2d array column by column. In ...
[18 replies] Last: hmm for the loop to run 3times once.But apparently that was what the p... (by dino163)
How to store a vector of different templates
 
Hello, I want to store a vector of classes with different template arguments. For example, let's say I have a class BaseType<T, K>, and I want to write somethi...
[no replies]
C++ Dictionary
 
I don't mean how to make one,i mean does anyone know of a list of C++ terminology that beginners should know? trying to find these one by one takes a long time....
[1 reply] : This is a good source for starting: http://www.cplusplus.com/doc/tuto... (by coder777)
Opening a terminal from C++
 
I need to open a terminal to run a process. I've got it working, but it feels "dirty". There must be a better way, and I've read a lot about system() being ba...
[no replies]
Coding with Ubuntu SDK (QT Creator)
 
I've written a program in Bash and I want to port it to a QT Desktop Widget. I've created a blank widget, and have managed to compile... so success so far! ...
[12 replies] Last: I had to change the code to get it working : QDateTime dt = stamp ==... (by String24)
Someone who can help me test my password manager?
 
Hello, I wrote a password manager that stores a domain's name, the username and password and encrypts them. Does anybody know where I can maybe test how secure ...
[9 replies] Last: Bump! Anyone have a suggestion? (by Cube777)
by Ch1156
How to pass an enum through a struct?
 
I have been trying to do this for about 10 minutes now and I cant seem to figure it out. I need to pass the enum through the struct parameters. main.cpp #in...
[5 replies] Last: That's the variable name. If you want to have a parameter of type num ... (by Peter87)
Problem When Printing a Binary Tree
 
The problem with my program is that whenever I run it, it prints out a zero even though a zero is not one of the numbers in the file. Also the count is sometime...
[6 replies] Last: Imagine a tree like this: 0 - 101 - 202 if you want to insert 2 it... (by coder777)
by h4ever
How to read image?
 
I am on Windows, using Visual Studio C++ 2010 Express Is there any class or method for GDI which could read jpg, png or bmp images? Maybe tiff too.
[6 replies] Last: Yes, those libraries exist. I'd say that ImageMagick do use them too. ... (by coder777)
by gingy
Program Attempting to Create a .txt File Failing to Do So
 
I recently learned how to read and write text files within a C++ program(well, I feel I may have missed something in the lesson because I see no reason why this...
[2 replies] Last: Thanks for all the help, I really appreciate it. Furtonately, I figure... (by gingy)
by DianaV
error messages
 
Well I finally got the Header file in the compiler and was able to get it to see it but I got this error message when doing the Hello world lesson to test it ou...
[10 replies] Last: Don't worry about my include line. I customised my IDE to search some ... (by Chervil)
by kami12
Printing out a function
 
Hello! I'm just trying to understand passing by value and passing by reference but while i was writting the code another question came up. If I try to print ou...
[2 replies] Last: Thanks a lot! :) (by kami12)
the char integer type
 
Hi I am a beginner in c++. And started studying integer types(int,char,long,short). Why is it that when i write char ch = 'j'. C++ stores the ascii equivalen...
[5 replies] Last: Thank you so much.... char c = 'r'; char s = { 'r' , 0 }; This p... (by omkarborkar95)
by mehak
merge
 
i am trying to make a program to merge two sorted lists into a single sorted list but there is a run time error please help! #include <stdio.h> void merg...
[2 replies] Last: @mehak To keep it simpler, I would copy the two arrays into the large... (by whitenite1)
program that creates a custom-sized triangle
 
Write your question here. Okay, so I am trying to figure out how to create a program that will draw a triangle using *'s with a base the has a user-inputted nu...
[2 replies] Last: OK, I think I did a great job at butchering the explanation. I am tryi... (by anundal)
by CDavis
Pass by Reference (1,2)
 
So i have this poker game assignment and what I'm having a problem with is that I need to use in the second function I need to use the suitIndex number to figur...
[39 replies] Last: I just added a few lines to your function here. It looks like it's inc... (by wildblue)
need very easy C++ help, very fast please (deadline tomorrow)
 
Hello, a friend of mine asked me to make this program for his university, the thing is i only know c# and have no idea about c++, his deadline is tomorrow and...
[17 replies] Last: No problem. You should read "Programming Principles and Practice Usin... (by bigorenski)
July 2014 Pages: 1... 3334353637... 43
  Archived months: [jun2014] [aug2014]

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