General C++ Programming (Page 42)

by roswel
right shift a packBCD string
Hi, I have this BCD string: 890123...78FFF and need to right shift by say 3 nibbles, resulting i...
[3 replies] Last: we're nibble shifting, so I wonder if above the code will work, which ... (by roswel)
what are the diff between 1)const return_type func(){} 2) return_type func()const{} as far I un...
[4 replies] Last: thankx; actually I overlook the return type; so it make me difficult t... (by sujitnag)
Can you hold a vector of pointers in the same class as the instances of those objects?
Using SFML, I had a Board class which held multiple vectors of all of my object types in the game, a...
[2 replies] Last: This vector of pointers is going to be both a maintenance nightmare an... (by JLBorges)
little addition to my program
Im still new to programing so i need a little help first this is my program i want to create a ne...
[no replies]
by Sobo
Unusal Subtraction
please explain why this prints 3 instead of 12 int ptr = {1,2,23,6,5,6}; printf("%d",&ptr -&ptr )...
[4 replies] Last: To get the distance in bytes you must multiply theresult by sizeof(T),... (by S G H)
1. Write a c++ program to create a vector of integers. copy the vector contents into list, sort the ...
[1 reply] : Please note, that this is not a homework site. We won't do your homewo... (by MiiNiPaa)
c++ programs to be solved. ( ASAP)
Write a c++ program to custom exception handling. i. implement a function to compute factorial of...
[1 reply] : Please note, that this is not a homework site. We won't do your homewo... (by MiiNiPaa)
by Maurya
pass by reference using pointer.........need help
//program to form a header file /* using pass by reference in pointer */ #include <iostream> #inc...
[14 replies] Last: how can i pass a pointer array to function and call it back to main f... (by keskiverto)
Not able to write jpegs to file
I have written a tar program and now I can take files add them to a tarfile and extact them into ano...
[3 replies] Last: Perhaps you should get it working the way it was intended to work befo... (by kbw)
by kadi
library declaration
i have two problems * in recursion and classes i found out that we can use things without declarin...
[1 reply] : i have two problems Okay. in recursion and classes i found out th... (by shamieh)
Please i need help here ,i have been given a project for this semrster to write a gpa calculator for...
[2 replies] Last: defclick , I am a Computer Scientist but not a psychic. Post releva... (by shamieh)
Reading data from a text file.
Each line of the text file has first name, last name, and a salary. Something along the lines of thi...
[1 reply] : Mimmick this: // reading a text file #include <iostream> #include <f... (by shamieh)
OOP Compare Member Function
I have an assignment in my OOP c++ class and I had to create a class called date and one of the memb...
[11 replies] Last: int date::compare( const date& that ) const { const int a = year*... (by JLBorges)
Is it possible...
Is it possible to make your cursor move via c++?
[8 replies] Last: mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0); mouse_event(MOUSEEVE... (by Irhcsa)
unable to access the array value after two structure array pointer.
hi all, i am unable to access the array value after two structure array pointer. so pls guide were i...
[no replies]
How to Code this ?
How to Code this? Let's suppose we have a BASE & POWER and user have to enter BASE and POWER, After...
[3 replies] Last: #include <iostream> #include <math.h> using namespace std; int mai... (by tristan1333)
Array Partitioning
I need to write a program which for a given array of integers determines whether or not it can be pa...
[no replies]
by flora
#include<iostream.h> int main() { cout<<"SEATING ARRAGEMENT"; cout<<" /\ " <<endl; ...
[1 reply] : Please put your code in code tags. Highlight the code and then click t... (by dhayden)
What to Code This?
Hey need help for creating Do While Loop code for Cin Base and Cin Power Base = 5 power = 3 ...
[3 replies] Last: Please help to fix this #include <iostream> using namespace std; ... (by Inj0t0r)
Pages: 1... 4041424344... 50
  Archived months: [jan2015]

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