49,761 Topics

Member Avatar for
Member Avatar for Frederick2

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 …

Member Avatar for Nick Evan
0
261
Member Avatar for gcardonav

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++. …

Member Avatar for Nick Evan
0
146
Member Avatar for vivekarora

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

Member Avatar for vivekarora
0
173
Member Avatar for Hawkpath

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 …

Member Avatar for Hawkpath
0
79
Member Avatar for grumbly_frown

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 …

0
41
Member Avatar for gretty

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 …

Member Avatar for jencas
0
142
Member Avatar for Phasespace

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 …

Member Avatar for Phasespace
1
79
Member Avatar for pwnz32

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 …

Member Avatar for wildgoose
0
142
Member Avatar for kernel>panic

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 …

Member Avatar for mrnutty
0
153
Member Avatar for ewanko

Good am can i ask for a example of primitive operation that has implicit argument and its explanation.. Thank You

Member Avatar for kvprajapati
0
72
Member Avatar for Okimdone

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 …

Member Avatar for kvprajapati
0
87
Member Avatar for BlackPhoenix

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 …

Member Avatar for mrnutty
0
122
Member Avatar for ihatestarch

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.

Member Avatar for ihatestarch
0
133
Member Avatar for xfreebornx

[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; …

Member Avatar for Ancient Dragon
0
317
Member Avatar for Nathan Campos

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 …

Member Avatar for Nathan Campos
0
100
Member Avatar for znewsham

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 …

0
54
Member Avatar for david777

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;

Member Avatar for Nick Evan
0
75
Member Avatar for Niner710

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 …

Member Avatar for Tom Gunn
0
4K
Member Avatar for yun

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 …

Member Avatar for yun
0
205
Member Avatar for Symbolistic

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 …

Member Avatar for William Hemsworth
0
120
Member Avatar for rhoit

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 …

Member Avatar for Tom Gunn
0
182
Member Avatar for qwuirks

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 …

Member Avatar for siddhant3s
0
84
Member Avatar for acidnynex

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 …

Member Avatar for acidnynex
0
101
Member Avatar for hmortensen

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 …

Member Avatar for hmortensen
0
103
Member Avatar for rhoit

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 …

Member Avatar for rhoit
0
267
Member Avatar for kkeyan

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 …

Member Avatar for kvprajapati
0
102
Member Avatar for andrei4002

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 …

Member Avatar for andrei4002
0
117
Member Avatar for vwyodapink

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 …

Member Avatar for vwyodapink
0
81
Member Avatar for moksulu
Member Avatar for ithelp
0
37
Member Avatar for jeezcak3++

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 …

Member Avatar for thelamb
0
139

The End.