General C++ Programming - October 2014 (Page 35)

by Gyiove
where i can hold the pointer?
 
Hello everyone! So far i know that the pointer is address value to the real variable. Pointer size depends on operation system right? for example 32bit...
[2 replies] Last: My wish is to hold different types of variable or groups of different... (by MiiNiPaa)
how to convert a compact form of a matrix into matrix form
 
3 3 2 1 3 2 3 1 0 2 1 2 6 first line shows row and column number first index of the second line tells the number of non-zero entries of the first row ...
[1 reply] : You explain how to do it in your description. What really is the prob... (by kbw)
Reading from 2 file and Merging
 
Hi, I am struggling to get my program working. The directions are to write a program that reads sorted integers from two separate files and merge the contents...
[5 replies] Last: Here's the problem with the 'while' condition. It can be helpful to e... (by Esslercuffi)
Help with linking my c++ files
 
Hi i need help with putting my c++ files together so i can organize things instead of trying to search through several hundred lines of code when i want to chan...
[10 replies] Last: That's weird haha. I have more files that I run and never return anyt... (by Masterassassin1398)
C++ Linked List Sorting, Splitting, and Printing issue
 
Hi guys for my lab assignment this week I was assigned to learn about Linked Lists. The lab prompt is as follows: Write a program that creates a forward ...
[9 replies] Last: [quote=nichodiaz]Try this, moving the [i++ to ++i] That would have no... (by cire)
Error compiling C++
 
Hello there!! Sorry by my english, i'm from Brazil. Please, help-me. I have this code, but when I will to compile shows the following errors.... CODE...
[1 reply] : Compiles fine for me. (by Ispil)
Problem with arithmetic operators for class?
 
I have made a custom class matrices class which allows me to add, multiply, subtract (etc.) matrices. I have the following method for multiplication but I get a...
[2 replies] Last: I just figured it out. Thanks anyway. (by replacementaccount)
Explain this C program
 
Please refer to the comments, Explain the third printf statement. Thanks! #include <stdio.h> #define x 12 #define y 7 #define z 5 #define w y+z ...
[9 replies] Last: Sincerely, Thank you all, this post has been very helpful! (by newbie456)
Is an Abstract Base Class with Templates Possible?
 
Hi Everyone! I am new to the forum and this is my very first question... I've come across what I believe to be an intentional limitation of C++ and would like...
[5 replies] Last: Something like class Animal { public: template <class FO... (by prestokeys)
Chore Assigner, please help ive been working on this program for 3 months non-stop! (1,2)
 
I am having a problem getting each of the chores put in a random order and given to three or less kids. I originally made it out of a game list creator. This is...
[30 replies] Last: problem solved! Thanks for all the help! #include <vector> #include <... (by jasonwynn10)
Implementing pathfinding into 3d
 
Hi, i'm attempting to create an AI pathfinding that is grid based, i've created the pathfinding in console form so that it displays the program searching the gr...
[no replies]
sorting a linked list
 
I have managed to create a class that handles my linked list for me. I am allowing a user to roll dice based on the command line arguments int given at run t...
[no replies]
Election program sytem.
 
Hi guys, i really need your help about this topic. My project is Election program system. How do i divide Candidates into a Partylist? and Also the tally system...
[1 reply] : Please use code tags! #include<stdio.h> #include <windows.h> #include... (by jasonwynn10)
Cleaner code
 
Alright i am using the Find method to look in the users input, for certain words , but the code is long and kind of an eye sore , does anyone know of a way to w...
[17 replies] Last: Ugh; #include <iostream> #include <string> using namespace std... (by Avilius)
What do you think of the CodinGame's online IDE?
 
We've just launched our new version of www.CodinGame.com and we are now looking for feedback to make it much more fun for everyone, so if you are interested in ...
[5 replies] Last: @Kisando: Thank you very much, actually, all the information is on the... (by MariaMa)
Problem Solving Issue!
 
Hey first post here, ive lurked for information here before in regards to this problem but to no avail. I also asked a good friend/ really talented programmer t...
[1 reply] : I'm not sure why all of this matters so much, but if you want iteratio... (by PCrumley48)
by stfu01
Please help me to understand the codes. Ty.
 
int ac; double bb,tch,tcr,cl,nb; cout<<"Enter Account Number (or -1 to end)"; cin>>ac; while (ac!=-1) { cout<<"Enter Beginning Balance: "; cin>>bb; cout...
[3 replies] Last: All problems are fixed :) Well, maybe not. . . How does the user e... (by PCrumley48)
by judo11
student information in c++ fstream
 
how to add a record, how to edit a record, how to search the record, how to delete the record using a text file or file handling in c++ Here's the foll...
[3 replies] Last: I won't write any code unless you're really stuck; it more about teach... (by kbw)
Lottery C++ Help
 
.) Lotto is a game in which winners are chosen by random drawing of numbers from among those who have paid money to participate. Write a program that will simul...
[17 replies] Last: i just sent my program with all the errors :v I DECLARE THIS THREAD C... (by Vandalism)
Lottery C++
 
int main() { int WN ; int UI ; int MN = 0; srand(time(NULL)); WN = (rand() % 10); WN = (rand() % 10); WN = (rand() % 10); WN = (rand() % 10); WN...
[1 reply] : Please do not repost the same code you just posted in another thread. ... (by cire)
October 2014 Pages: 1... 333435363738
  Archived months: [sep2014] [nov2014]

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