49,761 Topics

Member Avatar for
Member Avatar for VB 2012

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 …

Member Avatar for VB 2012
0
3K
Member Avatar for dshiells

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 …

0
59
Member Avatar for ztdep

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 …

Member Avatar for thines01
0
69
Member Avatar for esesili

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 …

Member Avatar for esesili
0
219
Member Avatar for Desh2350

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 …

Member Avatar for Desh2350
0
447
Member Avatar for lucyaurora

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 …

Member Avatar for LdaXy
0
458
Member Avatar for Fotis_13

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 …

Member Avatar for Lerner
0
2K
Member Avatar for BCBTP

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 …

Member Avatar for Schol-R-LEA
0
369
Member Avatar for alex905

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 …

Member Avatar for mrnutty
0
246
Member Avatar for Tcll

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 …

Member Avatar for Tcll
0
439
Member Avatar for muse_squall08

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

Member Avatar for WaltP
0
2K
Member Avatar for webishop

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

Member Avatar for webishop
0
1K
Member Avatar for ben1996123

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 …

Member Avatar for Moschops
0
558
Member Avatar for swagatjena

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?

0
49
Member Avatar for mc3330418

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 …

Member Avatar for Ancient Dragon
0
69
Member Avatar for omer620

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 …

Member Avatar for omer620
0
189
Member Avatar for smurfy

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 …

Member Avatar for smurfy
0
145
Member Avatar for roona

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 …

Member Avatar for VernonDozier
0
238
Member Avatar for jeffpro

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 …

Member Avatar for mrnutty
0
107
Member Avatar for kris kannan

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.

Member Avatar for kris kannan
0
407
Member Avatar for Tigerwatch

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

Member Avatar for Tigerwatch
0
157
Member Avatar for harrisonbs1

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 …

Member Avatar for griswolf
0
111
Member Avatar for Halogen1

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 …

Member Avatar for Halogen1
0
500
Member Avatar for Pelle_3

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]

Member Avatar for Pelle_3
0
436
Member Avatar for Labdabeta

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 …

Member Avatar for Labdabeta
0
152
Member Avatar for learner guy

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

Member Avatar for Dman01
0
13K
Member Avatar for nuclear

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 …

Member Avatar for Schol-R-LEA
0
147
Member Avatar for MrEARTHSHAcKER

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 …

Member Avatar for MrEARTHSHAcKER
0
200
Member Avatar for beckhris

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 …

Member Avatar for WaltP
0
3K
Member Avatar for jaai
Member Avatar for jerl
0
148

The End.