49,761 Topics
| |
Is there a link somewhere that explains how to post tutorials? I have one I'd like to post (it shows how to use direct ODBC for enumerating ODBC drivers, connecting to Excel, Access, and SQL Server Express), and don't know how to do it. Would it need to be reviewed … | |
Hey: I am kinda new to C++. I created this code to display the edge of chaos. Now my professor wants me to graph it in a coordinate system. I know I could use excel and plot it there but I want to learn how to do it using C++. … | |
Hello Friends, Can you pls. help me in below? 1) Is it possible to invoke derived class constructor from base class constructor some how in C++? 2) If yes, how? Regards, Vivek | |
Hello, I need help to learn how to edit memory references. Don't worry, I'm not gonna hack NASA or anything. Just minesweeper to start out with. What I need to know is this: What is the code for editing memory references? I know you have to use a memory reference … | |
Hi I wish to write code which models scales based on different intervals and need to be able to get my sound card to play different frequencies - imagine tuning a guitar to say C# plus a little bit more. Is it possible to do this with MIDI and if … | |
Hello I have a function that writes some text to a text file. [B]My Problem is:[/B] At one point I try to erase an element from a vector ,but I get an error & I dont know why, it looks sytaxically (is that a word? :)) correct & I am … | |
| Hey. I've written a bit of c++ code to move columns of data from similarly named files (file20.txt, file40.txt, file60.txt etc) into a single file. Unfortunately there seems to be at least 1-2 errors (which I cannot seem to fix :S). I'm trying to take data from a list of … |
hey everyone, ive been making some simple games recently with c++ and sdl, I use Dev-cpp as my compiler. I just was making a game where a missle follows after a planet, and it freezes after a few seconds of playing. When I debug it however it doesnt freeze. I'm … | |
I have this encryption program that I spend a lot of time writing I am a beginner but I consider it a nice program except that is is way to slow, can you see anyway to speed this up? Thanks. I know you don't like doing stuff for us but … | |
Good am can i ask for a example of primitive operation that has implicit argument and its explanation.. Thank You | |
Well trying to conserve memory I'm trying to get my program to only make an array of what is needed nothing more. I've already figured out that the only variable i could use to set how many there is in a array is a [B][COLOR="blue"]const[/COLOR][/B] but according the the compiler … | |
Hi, [B][I am experienced][/B] I would like to create a virtual 3D world. I am familiar with SDL and 2d graphics programming. I am experienced with C++ and I know a little Java (I have enough programming experience to learn a language quickly). I am familiar with the traditional game … | |
How do you add a character containing a number char to a number int? What does it mean when '0'+3 is '3'? (3 being an int) I remember being told once, but never got the hang of it. | |
[CODE]#include <iostream> using namespace std; struct student { int ID; char name; char nationality; char gender; }; void record(student array[]); int main() { cout <<"Welcome to student recording system"<<endl; cout <<"Please choose one of the following option"<<endl; cout <<"1.Insert new record"<<endl; cout <<"2.Delete record"<<endl; cout <<"3.Sort record"<<endl; cout <<"4.Display record"<<endl; … | |
Hello, I'm learning C++, then i want to know how i can do a convertion of an decimal number to an hexamal number, i know the calculation form to do this, but the thing that i don't know is how i can represent the remain in the formula. Here is … | |
Hello, I am attempting to create a minfilter, or possibly something else. I will explain the problem and hopefully someone will be able to point me in the right direction. I need something that will intercept requests to a certain harddrive from windows, weather this is through windows explorer, or … | |
int main(int argc, char *argv[]) { int mobile, pond; float a; cout<< "input mobile price:"; cin>>mobile; cout<< "input 1 pound how many BTH:"; cin>>pond; mobile+pond==a cout<<a; | |
Hi, I was just wondering how to convert a vector<string> to vector<int>. I am using the transform function from <algorithm> but I am not sure what the format is. [code] vector <string > string; vector <int> int; tranform(string.begin(), string.end(), int.begin(), atoi); [/code] Get a compile error. Could anyone tell me … | |
Hey Programmers, Is there any better way to write the below recusive functions, plz help me so i can improve my programming... 1- Write a recursive function that takes a nonnegitive integer and returns the sum of its digits, [code=cpp] int DigitSum(int n){ if(n == 0){ return 0; }else{ return … | |
Well I am making an AFK Bot for a FPS game called Combat arms. What it is supposed to do is Move Up, Down, Left, and Right by itself while I am AFK. I want it to press Spacebar to jump too. I also want it to Press the Left … | |
cout<< worked out for every other pointer data type but... when char is fed it show the pointed address.....(which every one knows) but i want to see the address stored in the char pointer how to see it.. i was thinking using `printf()` but ruined out by not knowing what … | |
Hi Guys i'm new here so please be kind Thanks .... I need a serious help in my assignment which due this coming friday.... i need to create a Patterns by writing a function with prototype [B]char* matchPattern(const char *text, const char *pattern)[/B] i have to match a-z, A-Z or … | |
I'm having a ton of trouble reading the text from a file into an integer array, the file contains 3 lines of 1,000 integers from 0 to 1. The array is myArray[3][1000]. So far I've tried to use a stringstream to no avail and I've attempted to use a few … | |
Hi All, I'm trying to make a routine that returns node number XX from a BST. The nodes are as follows: [code=syntax] struct Node { signed int type; Node* child1; Node* child2; }; [/code] I can easily count the number of nodes by [code=syntax] long Pheno::CountNodes(Node* n) { if(n==NULL) return … | |
Why Can`t member function be called by pointer object of class/struct. i was trying to call the member fuction of struct though pointer object it showed me error like request for member 'Table::reveal' in `T1`, which is of non-class type 'Table*' where, Table is structure reveal is member function T1 … | |
Hi, I am writing Screen Capture application in c++. I want to take control of mouse click from OS because, if start menu is open in windows OS, when i click for take region selection on desktop the start menu is automatically closed. But i want to take snap image … | |
hello everyone i have a huge problem developing a windows service i'm trying to develop some app that reads information from WMI and sends it via amqp (using apache qpid client) everything [B]works fine[/B] on [B]windows xp[/B], but problems appear on [B]vista[/B]: when i start the program i get an … | |
I am learning how to manipulate strings this week and I am stuck on a program that is suppose to let the user enter a particular item number. The program should then check to see if the entered number is 5 digits long. if its not it should say invalid … | |
| |
My goal is to "master" C++. I barely learned up to classes... destructors within a month from watching videos on youtube. My question is how much more do I have to learn to be like you? It seems like long way to go... I feel discouraged already after reading 7 … |
The End.