General C++ Programming (Page 5)

just a question
 
hey guys i was practicing c++ i just want to ask if this type of program is an example of recursio...
[4 replies] Last: no i understand it now thanks . (by theposibility)
please i need to learn this
 
i have a question how does this line work out //(base * recursive(base, total -1);// im confuse be...
[2 replies] Last: thank you so much (by theposibility)
Storing objects using std::vector
 
I have two classes, Parent and Child, where Parent contains a vector that is used to store instances...
[3 replies] Last: Huh? From the above-referenced web page: Inserts a new element at t... (by doug4)
Use fgets and strlen to calculate the length of a txetstring
 
#include<stdlib.h> #include<stdio.h> #include <string.h> int main() { char input ; char b...
[2 replies] Last: When you use fgets and hit "Enter", a newline charater is included at ... (by LazaroBinda)
Classes that reference classes (1,2)
 
I've split the main part of my program into three classes and their respective functions. I have my ...
[22 replies] Last: That's very helpful. The only problem I can think of at the moment is ... (by shadowmouse)
Binary Search Tree VS Linked List
 
What is the difference between BST and linked list? Or are BST implemented through linked list?
[6 replies] Last: member of bst of what type? type *root? void* root? am getting segm... (by csstudent123)
by paligq
Need help on homework. New to programming.
 
I need to build a program that gets 50 random numbers in an array and sorts them using selection sor...
[3 replies] Last: I did all that stuff and it looks more cleaner and better, but it stil... (by paligq)
print my .dat and keep the previous information
 
i have wrote my code which ask for weight and height but every time i enter my information which wil...
[no replies]
I am having a problem solving this. I dont know what i am doing wrong
 
Im trying to do this function and i dont know why it isnt running. #include <iostream> #include <fs...
[2 replies] Last: Life saver. Thanks. (by bandosj15)
Matrix Navigation via Pointer
 
Hey there, I want to navigate a 2D Matrix (for example: int iMatrix ), with a pointer. I'm not ...
[4 replies] Last: I'll share the code block I came up with, using segments from the link... (by SixTsevN)
by yo2xia
how do I eliminate a specific column of a matrix using Eigen in C++
 
Apologize if this question is naive. I want to eliminate i-th column of Matrix X, so I use Xnew=X.l...
[no replies]
how to ?
 
hey guys im studying about recursion by myself and i want to make a recursive function that prompts ...
[4 replies] Last: Yes, but it's only because that is a function returning int. If you wi... (by LazaroBinda)
need help
 
expected class-name before '{' token here is the class: #ifndef STUDENT_H_INCLUDED #define ...
[4 replies] Last: Ty lazaro and mike for your time i solved the problem.........i remove... (by mr kutch)
Rule or Rules of evaluation in C++
 
hi. Is there any Rule or Are there any Rules of evaluation in C++ ? This will help me code with in ...
[5 replies] Last: thanks (by csstudent123)
recursion problems i need
 
hey guys i have a question about recursion. ive been trying to learn it for a while now and i go...
[3 replies] Last: No. Consistency is required. Your function -- if we call it with valu... (by keskiverto)
Output Unicode Number?
 
How do I output a Unicode number if I extract a character off a console or out of a file. If I do...
[3 replies] Last: char cannot hold unicode points. What happened is a lucky combination ... (by MiiNiPaa)
First Steps
 
"Hello World", I am in 3rd Semester(1st half of 2nd year) studying Applied Informatics. I knew s...
[1 reply] : Well, the easiest ways are to use the libraries that have already been... (by Pured)
by Anakin
how to sort? (1,2)
 
Hi all; I should sort an array of mixed float and integer numbers by merge method, and using the po...
[23 replies] Last: by searching I found my problem and fixed it , thank you all for your ... (by Anakin)
Searching in Data file handling in c++
 
i am not able to search more than 11 or 12 records in dfh after 11 or 12 records there is output whi...
[no replies]
Problem reading from file
 
Hello everyone, i have this code, but when i tried to read from the file, it crash. this is my code...
[9 replies] Last: thanks @Pured , it was so easy, i feel so stupid :-/ (by dualdark)
Pages: 1... 34567... 42
  Archived months: [sep2014]

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