General C++ Programming (Page 74)

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 L B)
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 L B)
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 SatsumaBenji)
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)
by Qaisar
Circular Linked LIst
 
Can you help me please, I cannot understand why node insertion method in this circular list is not ...
[1 reply] : check your traverse function. list is always pointing to the same node... (by writetonsharma)
No idea where to even start
 
This project requires you to write a C++ program that will manage a list of bird species and counts ...
[2 replies] Last: Programming is all about solving complex problems. You solve the comp... (by ajh32)
ForceRegistry error accessing protected variable
 
I am working on a physics engine, following the cyclone physics engine source code but a I am having...
[2 replies] Last: If I were you I would put the operator == for ForceRegistration inside... (by ajh32)
Warning C4244 'argument" conversion from time_t......
 
#include "stdafx.h" #include <stdlib.h> #include <ctime> #include <iostream> using namespace ...
[1 reply] : time() function return time_t type, which is signed type (signed i... (by MiiNiPaa)
by dahin
Difference between two string.
 
I want to compare two string, and want to see differeince in int form. For example, string first...
[8 replies] Last: Thnx. (by dahin)
I need help with my program?
 
this is a program to play battleship but when I enter 10 it does not display the X? can someone give...
[3 replies] Last: The user can enter any number from 0-10 inclusive. You'll want to do s... (by xismn)
Need help with making my code more user friendly.
 
The code compiles well and with color, but I have a few more things I'd like to polish up on it. ...
[2 replies] Last: Thanks DeXecipher and duly noted, However, I would like to keep the u... (by theascen)
CPPUnit
 
Does any one know how to Install CPPUnit in Solaris? I don't have gcc in Solaris and all the package...
[4 replies] Last: unfortunately NO!! (by Monalisha)
Is there a really simple way to write this out to a file?
 
Input for this program should come from the file data3.txt. Each line of the file contains the follo...
[19 replies] Last: There is a reason I have a 57% in this class...and I'm so tired lol I ... (by madeinsilence)
Pages: 1... 7273747576... 78
  Archived months: [mar2013]

Cannot post in this page. To post a new message, go to the first page.