132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for nagu89

hello. Ive been using a pretty long number in my program . its problem3 of the euler project . Its 600851475143 . What data type do I use for this???

Software Development c
Member Avatar for Ancient Dragon
0
231
Member Avatar for Stefano Mtangoo

I'm learning wxWidgets and would like to know which event, connect or using static event tables? Why will you choose one from the other

Software Development c++
Member Avatar for Stefano Mtangoo
0
257
Member Avatar for Kiba Ookami

Whenever I try to run a compiled group of code that should bring up a console, the console just flases onto the screen and is gone...I've copied a few programs from this forum onto it to check and see if its just me but it does it every time.

Software Development c++
Member Avatar for Stefano Mtangoo
0
243
Member Avatar for axim1

Please someone helps me with this question I must submit the answer tomorrow. The program is not working properly as is suppose to ; I am not getting the result shown below. Write a program that accepts numbers from the user and stores them in a linked list called allnum …

Software Development c linked-list
Member Avatar for s_sridhar
0
113
Member Avatar for tartan

having problems with the editing of a function, it works to a point, but for some reason when you enter a number ( that should be correct) it comes with invaid option then on pressing return, it then outputs the fields, but all jumbled up. can any1 help me with …

Software Development c++
Member Avatar for Ancient Dragon
0
178
Member Avatar for Unhackmee

Can anyone please help me reverse the output. This is just a very simple code and the output needs to be reversed in order for it to be correct. [CODE=C++]#include <iostream> #include "stdafx.h" using std::cout; using std::endl; int _tmain(int argc, _TCHAR* argv[]) { int num = 0; int bin = …

Software Development c++
Member Avatar for William Hemsworth
0
97
Member Avatar for youngfii

Hi, I have this "number game" which i just learned tonight ..It runs..but ,not without this warning box poping up, which says: "uninitialized local variable 'guess' used"...This confusing me because i know i did everything exactly like i was taught ...can you find/fix my problem abd explain please it'll be …

Software Development c++
Member Avatar for jesseb07
0
116
Member Avatar for nuliknol

Hi, i have been looking for this and can't find anywhere about the subject. I would like to know how many clock cycles does it takes to execute each instruction in complete asm instruction set for Intel i7 microprocessor. (including SSE & FPU instructions). Does any one has a list …

Software Development assembly
Member Avatar for nuliknol
0
144
Member Avatar for Delija

I am making a rpg type game. I have stored values inside of an array of class via a textfile. That's all I have done so far... What I need now and have not figured out yet is how to move from one array to the next using my "character". …

Software Development visual-studio
Member Avatar for DanyLdon
0
119
Member Avatar for vs49688

EDIT: I mucked up the thread title. It should be "Convert Custom type 'String' to std::string" Hi, How would I be able to convert a custom type 'String' to a std::string? Just that the function I'm using requires a std::string. troublesome code: [code] SetVar::operator char* () { if (szName == …

Software Development c++
Member Avatar for ArkM
0
317
Member Avatar for waldchr

I have recently upgraded from Allegro 4.2 to Allegro 5 and am trying to upgrade some of my programs. I came to a program that tells the user a ton of info about the computer it's running on such as the operating system. In Al 4.2 I could just use …

Software Development c++ operating-system
Member Avatar for waldchr
0
118
Member Avatar for serkan sendur

hi guys, do you know how to run windows installer from the command line? thanks

Software Development
Member Avatar for serkan sendur
0
170
Member Avatar for brandongood

Hello, I am getting the following errors: unexpected type line 433 operator + cannot be applied to <any>,double line 433 operator + cannot be applied to <nulltype>,double line 433 incompatible types line 433 unexpected type line 441 In the below file. I know its probably something simple, but could use …

Member Avatar for poeticinsanity
0
206
Member Avatar for serkan sendur

hi guys, is it possible to create a service application for windows mobile? it is going to be like windows service application. it is going to run in background. it is going to be used to push software updates to pocket pc. if you have any ideas about pushing a …

Software Development
Member Avatar for serkan sendur
0
129
Member Avatar for phoenix911

the question reads as follows.... show how u can efficiently multiply an integer that is read from the keyboard by 100, without using the operator *. use the << operator several times.... ok i can do this using overload.... or thats the only way i can think of... or is …

Software Development c++
Member Avatar for jephthah
0
198
Member Avatar for fadia

heey guys.. i just learned the arrays.. am not really good at them.. can some one simplify it for me.. i gat this question.. i tried to solve it.. but didn't get the desired output :S how ever it says 1 succeeded ! here's the Q: 1. Declare one array …

Software Development c++
Member Avatar for mirfan00
0
307
Member Avatar for mirfan00

[QUOTE=Richy321;880968]Thanks for looking btw.[/QUOTE] Hi I also try to connect sql with c++. Please if you connect than tell me how you connect it. And explain these two lines,I found only two errors of these lines. 4.import "C:\Program Files\Common Files\System\ADO\msado15.dll" \ 5.no_namespace rename("EOF", "EndOfFile") Thanks in advance.

Software Development c++ sql
Member Avatar for mirfan00
0
67
Member Avatar for Chizl

I'm a old C++ guy, so forgive my ignorance in ASM.. I'm having issues with getting CPU utilization through perfmon, because of a small memory leak in the pdh.dll after being called every 60 seconds for weeks on end. I then tried using MS typeperf.exe, but I found that EXE …

Software Development assembly
Member Avatar for Evenbit
0
214
Member Avatar for KirkPatrick

Hey guys, got another question for you. I have a program that displays a new bean on my jPanel for each piece of data that it picks up from a file. I was wondering if there is an easy way to always have it display my bean to the northwest …

Software Development gui java
Member Avatar for KirkPatrick
0
103
Member Avatar for patria987

Can anyone help me write the program to find the magic numbers in c/c++??I have looking for this solution for a long time so ill be grateful if sumone here can solve it..

Software Development c++
Member Avatar for Salem
0
175
Member Avatar for Usura

Hey could someone please point me to a website which shows you how to remove duplicates of a list container of a class that have the same name, but change the int to be an average of both values in the class? [CODE] class product{ string name; float rating; } …

Software Development c++
Member Avatar for siddhant3s
0
187
Member Avatar for twilightprincez

hi, i need some help with my hangman game. i have the whole thing down except i don't know how to get it to draw the head if the first letter is wrong, the body if the second, etc. i'm really new at visual basic and i could really use …

Software Development visual-basic
Member Avatar for Jupiter 2
0
155
Member Avatar for Richy321

Hi, Im trying to connect to my sql database and generally play around but I get the following error: [ICODE]error C3867: '_com_error::Description': function call missing argument list; use '&_com_error::Description' to create a pointer to member[/ICODE] I think it has something to do the import of the msado15.dll. Obviously if I …

Software Development c++ open-source sql windows-vista
Member Avatar for Richy321
0
216
Member Avatar for leevs05

I need to create a new form with double combo boxes where listings of the second item combo box depends on the first combo box. The first combo box is CustomerName and the second is Item. I've done the whole dragging of the combo boxes into the form and when …

Software Development
Member Avatar for lonelyrider
0
106
Member Avatar for hetngay

<links snipped> Hello I need some help with this question. I have attempted to write a segment of code for the Binary Search Trees in C++ code. Refer to the question below. Design and implement a program in C++ to solve the following problem. DESCRIPTION This program, which learns by …

Software Development c++ data-structure
Member Avatar for Ancient Dragon
0
156
Member Avatar for sandilian

Hi all. i need help. i have two text boxes in Web application. When i enter data in first textbox second will enable automatically. i have written javascrit of onblur and onchanges and onkeyup event to enable the second textbox, it works fine but the problem is when i copied …

Software Development
Member Avatar for sandilian
0
106
Member Avatar for BlkR

Hi guys, Having difficulty as to how to achieve the following Have a database with a table with a list of items and their prices now what i am thinking of doing is to be able to take orders using a datagrid and the datagrid would allow me to enter …

Software Development vb.net
Member Avatar for BlkR
0
83
Member Avatar for redZERO

Hey guys I'm using JLayeredPane because i want three distinct layers in my program. terrain, buildings and then characters. I thought that JLayeredPane was easily the best choice for this context. The problem is, I have only seen people *adding* components to their layers. I need to do my own …

Software Development java
Member Avatar for JamesCherrill
0
231
Member Avatar for Joy McClure

I have created a database in vb, I currently have 13 columns and 2 lines, I'm trying to add to that database through the VB form I have. When the user imputs information into a textbox I want that new info to appear in my database, is that possible or …

Software Development vb.net
Member Avatar for kvprajapati
0
94
Member Avatar for kostasxx

i need to make a program that finds all primes between some numbers the biggest number is 1000000000. the code that i have works fine, the only problem is that what i thought that would solve this, is too slow [code] #include <stdio.h> int main(){ FILE *fin=fopen("in.txt","r"); int t,n1[10],n2[10],i,j,ex,k; fscanf(fin,"%d\n",&t); …

Software Development algorithm c
Member Avatar for vs.vaidyanathan
0
200
Member Avatar for PinoyDev

hello guys.! I just have 1 problem right here. I have a variable declaration below: [code=vb] myVar ="Argie's" "Select * from [my Table] where [my Field] ='" & myVar & "';" [/code] When i execute the query, it returns error because the myVar value contains Quotes and sql server does …

Software Development sql visual-basic
Member Avatar for PinoyDev
0
112
Member Avatar for Virux

I have been testing a application I made, which is a simple swing interface with a checkbox. I am using custom icons for my checkbox, for checked, checked and mouse-over, unchecked, and unchecked mouse-over. I am using the eclipse IDE. Eclipse creates your application in the workspace file, so the …

Member Avatar for JamesCherrill
0
85
Member Avatar for gumber

hello friends, as a semester project i have to make a voice chat application. But i am confused how to proceed.Can somebody provide me some help and guide me regarding capturing sound from microphone , after capturing which compressiong methods to use , then which tcp/udp to send packets ? …

Software Development c++ tcp-udp
Member Avatar for JustinJose12002
0
229
Member Avatar for skumar.snl

To get Twitter user Detail,Followers,following by using UserName without password

Software Development api c#
Member Avatar for Tekmaven
0
89
Member Avatar for eng_mary

Hi every one. suppose i have Car class: [CODE=java]public class Car{ int id; int speed; public void move(){ ... } ..... }[/CODE] that have to run in Race class: [CODE=java]public class Race{ Car[] cars; .... public void runRace(){ .. for (int i=0; i<cars.length; i++) { cars[i].move(); //here is my problem …

Software Development java
Member Avatar for eng_mary
0
182
Member Avatar for mbrc

It's unfortunate to spend so many hours on a loop, but that I have. Below is a function which takes a NULL terminated string pointer and skips over new lines and /* comments /*. It should exit as long as the specific delimiter or comment is not present at the …

Software Development c++
Member Avatar for mbrc
0
98
Member Avatar for GSPprog

user puts in the number of employees but inputs less employees. He terminates the loop by pressing the ENTER key. How do i do that. I tried strlen,, and even trid atoi but i dont know how to terminated it. Also when it terminated its just uses that many employees …

Software Development c++
Member Avatar for GSPprog
0
422
Member Avatar for danilopena

What Java object is used to read terminal input from the keyboard?

Software Development java
Member Avatar for shilpa_mk
0
75
Member Avatar for polo_coins

Hi I wrote such code it works mostly perfect(you may use it) but I don"t know how to add attributes to some TAGs for example I want to change Expire date to attribute of buyer I want you suggesting how to add attributes [ICODE] class Program { static void Main(string[] …

Software Development c# xml
Member Avatar for kvprajapati
0
101
Member Avatar for danilopena

So I've been "studying" java for two semesters, and my teacher is not what you would call the best. I was just wondering if any of you guys could help me out with some questions I have... What is a recursive termination condition and what happens if a recursive function …

Software Development java
Member Avatar for BestJewSinceJC
0
85
Member Avatar for killdude69

Okay, I have been googling and looking on MSDN for this for a couple hours or so, and I will continue to do so until somebody replies. I need some help on a program I am making in my free time. Can sombody tell me what would be a good …

Software Development c++
Member Avatar for killdude69
0
225
Member Avatar for firoz.raj

can anyone tell me .why i got error object variable or with block variable not set .any help would be greately appreciated.here is the code what i have written.Kindly find the attachment also. [code=vb] Private Sub Command3_Click() Set CON = New ADODB.Connection [COLOR="Red"]If CON.state = adStateOpen Then[/COLOR] ' con.Open ("Provider=Microsoft.Jet.OLEDB.4.0;Persist …

Software Development listview open-source visual-basic
Member Avatar for Jupiter 2
0
166
Member Avatar for Riv3n

Hello, I'm currently working on a project which requires me to provide an [B]upload and download file manager with pause and resuming[/B] functionality. Much like GetRight with its GUI but with upload and download function. This project is PHP based and I believe that PHP can't do what is required …

Software Development gui java open-source
Member Avatar for Riv3n
0
108
Member Avatar for monkey_king

Hi, can anyone tell me why i can't clean up the memory, and maybe a small solution. I'm allocing memory with strdup for each key, but I cant figure out how to erase the key with free. Before anyone starts talking about mixing c++ and c, I know it's generally …

Software Development c++
Member Avatar for ArkM
0
2K
Member Avatar for ttqtrang146

I've got following code section: [code=cplusplus] #include "stdafx.h" int main() { string str; cout << "Enter file name: "; getline (cin,str,cin.widen('\n')); char* file_name=new (nothrow) char[str.length()]; if(file_name==0) { cout << "Error: Memory could not be allocated!\n"; } else { strcpy(file_name,str.c_str()); WriteFile(file_name); ReadFile(file_name); [COLOR="Red"]delete[] file_name;[/COLOR] } getch(); return 0; } [/code] When …

Software Development c++
Member Avatar for ttqtrang146
0
132
Member Avatar for syris

This is my first time programming anything and i'm reading the learning python book. I'm stuck at step one and very annoyed. I'm trying to run just a simple print saved program i wrote in notebook. For some reason i can't open it, ive gotten to the point where i …

Software Development python windows-vista
Member Avatar for Stefano Mtangoo
0
113
Member Avatar for livedereh

Im a beginner to c++ after looking over this code you will be able to tell the outfile code seems to work fine no errors but any feedback will be nice the infile code is the one i have problems with [CODE] #include<iostream> #include<string> #include<fstream> using namespace std; int main() …

Software Development c++ file-system
Member Avatar for livedereh
0
117
Member Avatar for shindu

I am working on a basic linked list program and i seem to be having problems with the getline() function. I try to input data in to my struct: [CODE] cout<<"\n\nPlease enter the name of the student: "; getline(cin, temp->name); cout<<"Please enter "<<temp->name<<"'s class: "; cin>>temp->grade cout<<"Please enter "<<temp->name<<"'s GPA: …

Software Development c++ linked-list
Member Avatar for shindu
0
280
Member Avatar for apo

/*hi I'm having problems with my "while ()" apperently it is not taking any action, and it keeps going endless. i need it to stop when the answer is 'n'*/ [code=c] #include<stdio.h> #include<conio.h> #include<stdlib.h> #include<string.h> #include<iostream.h> //--------------------------------------------------------------------------- void main() { char pais[20],r; int i=1,temp=0,ctemp=0,atemp=0,dia=0; float promt; clrscr(); fflush(stdin); cout << …

Software Development c++
Member Avatar for tux4life
0
134
Member Avatar for fadia

Hello.. i'm working on my project.. it's the first time i do a C++ project.. but i'm getting this fatal error.. if any one knows how to solve it plz tell me.. also if anyone have any idea or advice to improve the program plz go ahead. [CODE] #include <iostream> …

Software Development c++ visual-studio
Member Avatar for tux4life
0
201

The End.