General C++ Programming - April 2013 (Page 48)

probably a simple error
 
I am trying to write a program that creates a hybrid image I've hit a roadblock early on my code thr...
[5 replies] Last: I found where the problem occurs line 29 and line 34 cv::imshow ("Ima... (by jax666999)
C++ gaming CV
 
I got a possibility for internship with a foreign company, but want a remarkable CV. Anyone of you g...
[1 reply] : Sorry, can you be clearer on what it is you're actually looking for? ... (by MikeyBoy)
by xsesx
Average and Percentage Issues
 
In this program, I have to display the information given(this part of my code works fine), find the ...
[3 replies] Last: That does seem to allow it to compile. Yes, but it is really doing ... (by MikeyBoy)
by LB
Taking address of operator functions
 
Why can't I take the address of operators for primitives? #include <iostream> #include <string> in...
[2 replies] Last: Actually operator+ is one of the operators that may be declared in the... (by LB)
attraction between objects
 
i am relatively new to c++, and am trying to make it so particles will gravitationally attract to th...
[6 replies] Last: i changed the xvel and yvel variables to floats as well, the particles... (by tatsu0616)
by zoori
array
 
Hello, I have a file with numbers and want to display it on the screen. Any help related to this...
[15 replies] Last: This is not your original question, please create a separate topic for... (by LB)
ofstream in calling function
 
Hi, I am trying to use ofstream to write in a txt file in a function called recurrently. for a si...
[2 replies] Last: Thanks! :) (by dekeenfrance)
by Nobun
Operator Overloading in a correct way. How?
 
Well... I observed, as a non-professional programmer that "overloading operators" has some strict ru...
[19 replies] Last: Another link to information. The overloading conventions are specific... (by kempofighter)
Custom Linked List Sort Method
 
Hi I am making a custom linked list (for fun!) and want to implement a sort method that sorts the st...
[2 replies] Last: I wrote this code a few weeks ago. Looks like I am ahead of myself. Th... (by martianxx)
How to verify if a string equals a certain word
 
Hi there, I want to see if the value of a string equals a certain text. But I can't make it. Ther...
[3 replies] Last: Thank you both! This helps a lot. (by Anthony973)
A pointer to an array: int* p=arr; vs. int (*p2)[10] = &arr; ?
 
Hello, int arr ; int* p = arr; int (*p2) = &arr; So, pointer p is a pointer to an arr...
[9 replies] Last: Neither of those explains whether the pointer to the array can be incr... (by LB)
by adrem7
Debugging Seg Fault (GMP lib)
 
I have a piece of code about 600 lines long which currently doesn't run due to seg fault. I have ru...
[13 replies] Last: For completion, the issue was that the random number generator needs t... (by adrem7)
Access private member variable
 
I've created a class called Voter with a private member variable ID , also I have a variable in m...
[3 replies] Last: #include <iostream> #include <string> struct Voter { Voter(std::... (by LB)
by xsesx
Structs and Incrementing Ouput
 
How would I be able to have this display the rest of the households without having to have 13 separa...
[3 replies] Last: Gotcha thank you guys! (by xsesx)
Binary Search Tree Delete
 
This is the delete function of binary search tree. However it won't enter the if-else statement that...
[2 replies] Last: Please enclose your code in code tags, to make it easier to read. (by MikeyBoy)
Programmers from Sheffield, England (preferably teen)
 
May seem like a peculiar ask but I'm working on a large project (learning as i go) and I wanted some...
[5 replies] Last: Well although still no replies of interest, I say thanks to @Framewor... (by TheBeardedQuack)
Classes
 
Hi, my assignment is asking me to include accessor functions that returns the values stored in each ...
[1 reply] : You'll need return types, just like in regular functions. The exceptio... (by Bourgond Aries)
by kohlh
strings as arguments in functions
 
I am getting this error when I create a function that attempts to use a string as an argument list t...
[5 replies] Last: If you do this: char x = 'y' ; if ( x != ('y') || ('Y') ) ... (by cire)
need help
 
hey , my existing code is making database connectivity with oci library ,but know we want to make th...
[no replies]
recursion problem
 
how do function count factorials in this programme?? #include<iostream> #include<conio.h> using n...
[7 replies] Last: Thank you so much! :) :) (by tharindu11)
April 2013 Pages: 1... 4647484950... 53
  Archived months: [mar2013] [may2013]

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