General C++ Programming - November 2011 (Page 2)

by barbis
How to call a function from dll?
 
Hello all, how would i use this function in visual c++ 6 from a dll: function LoadRoentecSpe...
[11 replies] Last: Does anybody know how to use Delphi languages "Packed record" in c++?... (by barbis)
nested loop
 
how to show 1112131415 22232425 333435 4445 55 in c++ using nested loop (for) ....im beginer... t...
[5 replies] Last: johnbob, don't post solutions. In 99,9% of the cases, you're making so... (by Gaminic)
Fibonacci #s and Prime #s Help please!
 
Hi im having problem with program it is not working correctly. Take a look im fine with choice 1 and...
[2 replies] Last: Hi, First I personnaly would suggest to use a function "bool isPrime... (by johnbob)
figuring out video transitions using c++
 
I have written a program in visual c++ using GUI's which makes the user import a video and then it b...
[no replies]
by kribel
Write output to a file using a template
 
Hello, is there a library or an implementation available to write some information into a file us...
[no replies]
Adding numbers in an array
 
I am having trouble with a program I am working on that takes in 2 numbers from the user as a string...
[1 reply] : I'd say something like this: // Outside loop: int carry(0); // In... (by Gaminic)
Map memeory issue in c++
 
Hi, I was loading data from database and insert into map. When I tried to print map size and data. ...
[1 reply] : It can't work because you're using an array as a key, so you don't hav... (by DarioDigiuni)
Classes and Objects?
 
How would I create a .cpp file that calls all of the functions. Here is my header file: // This...
[10 replies] Last: Let me do your homework. int main(int argc,char* argv ) { Inventor... (by DarioDigiuni)
Need help with finding sum of an array plz.
 
I need help finding the sum of the expense in this array. Please tell me whats wrong with this and h...
[1 reply] : On line 31, you're subscripting the variable "amount," but it's not an... (by mzimmers)
compiler help.
 
are there anny compilers that work for all programming languages or maybe just these programming lan...
[8 replies] Last: You can call lua or javascript code from C++. You can download lua lib... (by hamsterman)
by jls36
Hash Table with chaining
 
Im creating a Hash Table with chaining with an array of STL list(s). My getNext function works but a...
[5 replies] Last: I know about STL Hash Tables but my teacher wants us to create our own... (by jls36)
Need help outputing months and days.
 
This program works fine but I am having trouble outputting the months and day and I can't seem to fi...
[no replies]
by LB
Best way to scope?
 
#include <iostream> using namespace std; int main() { cout << "Hello, World!" << std::end...
[1 reply] : According to the C++ Coding Standards by Sutter and Alexandrescu, in... (by Cubbi)
by bxdin
Bool member function won't return argument correctly
 
I've added only parts of the code giving the main problem. I've included useful comments for the seg...
[13 replies] Last: I didn't say anything about syntax. I just pointed out what I think ca... (by Peter87)
by vivmen
checking performance of array
 
Hi all i have written a very small code to see which container is faster. here is code & result ...
[12 replies] Last: well i tried above code but my result does not differ much 13211 4191... (by vivmen)
Amortization chart problem
 
Hi everyone. My assignment is to do an Amortization chart for an inital balance of 350K, a 5.5% inte...
[no replies]
Music in C++
 
Well I am wanting to play BAKCGROUND music in C++. The way I tried it, it opens a windows media play...
[1 reply] : You need the PlaySound function. http://www.google.com/search?btnI=1... (by Duthomhas)
by doilin
Trying to add 'backspace' Functionality to my Text Editor
 
I have a text editor that uses the 'getch' function. I did this simply because 'std::cin' would not ...
[2 replies] Last: OP also wants to use Alt+Key combinations. (Sorry to respond so late.... (by Duthomhas)
Urgent! Trouble with a Programming Assignment Please help
 
I am having trouble with my program. I have been working on it for the last couple of days. I am sup...
[4 replies] Last: it should be: if(i%2==0) sum+=yValue*2.0; else sum+=yValue*... (by DellaCoder)
ctime !
 
hey guys, I wrote a simple O(n) sorting program. I need to check its time elapsed using ctime but...
[2 replies] Last: thank you :) (by wtfshawn)
November 2011 Pages: 1234... 47
  Archived months: [oct2011] [dec2011]

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