49,761 Topics
| |
Is it possible to make a vb.net application faster Through code like using characters that the Computer already understands Like coding in certain areas through y x (math) etc. Will it be More faster since the compiler don't have to really do much work But its still must be VB.NET … | |
Hi all, I'm currently developing an application in QT, and using QML for the user interface. Using QDeclarativeView I am able to create custom objects and access their members from within QML (using the below code), however I am stuck when I want to access the methods from just within … | |
Dear friends: I use the numerical libraray Seldon in the vs2010, and the libraray was written in C++ templates. but the VS 2010 can not show the class view in the Seldon, it does show the classes written by myself. could you please tell me how to set the vs2010 … | |
Hello all, I want to write a qui program which opens and reads a text file when pressed Open File button. So far, when I click the button Open File Dialog works and I can choose the file to read but I do not know how to read it line … | |
Hey All, I'm not sure where to start with this, but I need to write a C++ program that implements the 'Three Strikes' game, where the user tries to guess a word, being given a number of chances to guess letters. Any ideas? Thanks in advance. See ya on the … | |
Okay ...Ive learnt Iterations and If Functions Arrays (1 dim and 2 dim) Structures ...In C++ as of now ...(Im still in school learning) I know that a good game would require "classes"....but i dont currently know how they work... So is there any way I can come up with … | |
Hi programmers! I'm new at c++ and i want help about a simple guessing number game. I want: [LIST] the player has 3 tries (the number is between 0 and 20)[/LIST] [LIST]if player doesnt guess the right number (in 3 tries), then the programm will close[/LIST] [LIST]if the player guess … | |
Hello everyone, I am currently taking up a project of making a Virtual Machine. I was wondering if anyone has any tips on making Bytecode interpreters, and Virtual machines. I am not really basing it on anything, I am just making a VM with 640k memory and about 8 32 … | |
Hi, I have to initiates a object to a variable in the private section of my class deceleration. The problem is that I can not add a try catch to it in this way. I Don't think I am explaining things to well (it's been a long day) so here … | |
this is just a little project I'm working on for my converter I'll be asking for C++ to Py conversion since IDK C++ well enough to do it myself... but the project involves converting the current functions as well as writing opposite functions... (since the SDK only worries about writing … | |
[CODE]#include <iostream> //standard input and output #include <fstream> //file input and output #include <string> //for strings #include <exception> //catches exceptions #include <sstream> //stringstream comes from here #include <algorithm> #include <stack> #include <queue> using namespace std; bool writeFile(const string &data); //writes strings to file bool readFile(); //read file bool palin(const string … | |
I keep getting the undefined reference error when calling a c function from c++ code: void proxy(char *str); In my funcs.h file, I use the #ifdef __cplusplus extern "C" { #endif wrapper, and include funcs.h in my c++ code. I also declare the function as extern "C" void proxy(char *str); … | |
Hi, I want to start learning OpenGL. I have searched for some tutorials and here is what I have done: 1. I downloaded the latest version of GLUT 2. I put the DLLs in C:\Windows\System32 3. I put the libs in C:\Program Files (x86)\CodeBlocks\MinGW\lib 4. Put glut.h in C:\Program Files … | |
I have a datagridview which allows the user to select multiple rows of a table.Now i have to take the values of one column of all the selected rows and insert those into the sql table.how do i do that? | |
With this function I'm finding the highest average, but after I find it I want to find the name that goes with the highest average. I'm pretty sure I need to use the index of the highest average but I don't know how to do it. [CODE] void findHighest(int numItems,string … | |
Hi frnds I am having some kind of problem in strings.. I have to write a String program whose output is like this Let the string is :- Enter string : "Computer Programming" C Co Com Comp Compu Comput Compute Computer Computer P Computer Pr Computer Pro Computer Prog Computer … | |
Hi , In Visual Studio CLI. I have randomly generated numbers(zero to nine) which are a,r,g,b . One by one they are meaningless . Together they create a color code for different products. For example : [ICODE] id a r g b i 1 1 5 9 i+1 6 0 … | |
Hay every one Hay everyone I need help I have project in subject programming languages about make one idea on two languages c and java . I have made it in java and c++ but I couldn't in c This is the code in C++ [CODE]// Link.cpp : Defines the … | |
Alright, I need help for a shooting game I'm working on. I current have a box that is 3d ( x, y, z) I'm trying to perform a check to see if my cursor is inside this 3D box. I understand how to make it 2d by using the max … | |
hi, i want to know if there are any libraries for image/video processing in c/c++ with a compatibilty that it can later be adapted to DSP, without much difficulty. thanks in advance. | |
I've made a 3d game simulation with animation and all the controls. But whenever i jump, the player remains up in the air without coming back down. Also the player can simply walk through walls. I'm using " colonel - z " for the player and "universe.dbo" for the environment. … | |
Okay, so I have been searching around for a while and i haven't found much. I'm not asking for a code but I'm asking for a point in the right direction. So here is what i am trying to do. I am trying to make my own formborderstyle. As in … | |
Hi: I wasn't able to find the exact solution to my problem on Daniweb, although there are several posts regarding the game of life. This situation came the closest: [url]http://www.daniweb.com/software-development/cpp/threads/242338[/url] My situation is a bit different because I HAVE to use a combination of functions and a class in the … | |
I am learning C++ .net programming and was wondering why the code for creating a messagebox is [CODE=C#]MessageBox.Show("Hello, World!");[/CODE] in C# and [CODE=C++]MessageBox::Show("Hello, World!");[/CODE] in C++. Why is the dot substituted with a double colon in the C++ code? My source: [url]http://msdn.microsoft.com/nb-no/library/z9w2f38k[/url] | |
A friend asked me how to write and use a DLL in C++. I told him that I had to check and make sure my understanding was accurate. So here I am. Would this work as a DLL: myDLL.cpp: [CODE]#include "myDLL.h" void DLL_EXPORT ConstructMyInt(myIntStruct &i){i.val=0;} void DLL_EXPORT DoSomething(myIntStruct &i){i.val*=i.mul++;} BOOL … | |
well i have made a .txt file (for save /reload blah blah ..) ..i want it blank before program runs ..how can i do it - or is there any way i can create a new file every time overwriting the existing file | |
Hi, I would like to get an advice, lets take SDL lib as an example. Recently I've been declaring sprite sheets that certain classes use ( player, enemy... ) globally and thought that a better way would be to load sprite sheets inside a class thats using it but if … | |
Hi, I'm playing around with pointers and I found out something. For example, I have the array of objects of structure, and wished to point to it over the pointer which already points to it ( pointer to pointer to array of objects. ). Confusing? Code: [CODE]struct person{int number;}; int … | |
Hello, I'm in a beginners c++ class and I need to write a program that calculates the area and perimeter of a triangle of sides: a, b, and c. The lengths of each side (values for a, b, c) are written in an input file (.txt), so the program has … | |
hi, can anyone tell me how to draw a line using opengl es2.0 |
The End.