132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for leothe3

I've been trying to solve this problem for a few hours now. I'm new to Python but I have programming experience in other languages. Description of my problem: 1) I'm writing a script that will run as a cron job to verify if data transfer is occurring on some legacy …

Software Development python
Member Avatar for leothe3
0
1K
Member Avatar for mmeyer49

My code is supposed to accept into for book data and sort it. My problem is when i enter Data it doesnt return to the menu. i know atm it is // but it seems to fail after i enter the data. Also i'm having problem trying to add the …

Software Development c++ linked-list
Member Avatar for r.stiltskin
0
189
Member Avatar for sid.coco

I want to simply insert a few string values which i have successfully retrieved from an Excel Sheet. I have tried the "stored procedure" method but am not able to get what what i want. Just a simple C# code to insert value in SQL server 2005 using the SQLquery …

Software Development dataset open-source
Member Avatar for ChaseVoid
0
166
Member Avatar for Mossiah

[code=cplusplus] #include "stdafx.h" #include <iostream> #include <iomanip> #include <string> using namespace std; char your_string[256]; char new_string[256]; void ReverseString(); int main() { char choice; do { cout <<"Enter the string that you want to reverse: \n"; cin.getline(your_string, 256); ReverseString(); cout << new_string << "\n"; cout <<"Do you want to continue? Press …

Software Development c++
Member Avatar for vmanes
0
111
Member Avatar for venomocity

Alright my family of geniuses here is my new dilemma. In a card game I have created via VB6 I thought it would be great to spiff it up with music during game play. The problem however is I have no idea where to begin. I have read some posts …

Software Development visual-basic
Member Avatar for venomocity
0
170
Member Avatar for jam123

Hi everybody, Im a new member on this forum and I want ur help on C language. Im a new student on this language & mostly we study it by our-selves. This is the question: > One of the academic staff is trying to keep track of the students and …

Software Development c
Member Avatar for Alibeg
0
145
Member Avatar for Thug Heart

Hi All , I have a question regarding to if statement ,,, my question is : How can I compare between 2 values ?! let's suppose I want to see if (x > y ) print "x greater than y" if ( x < y ) print "y greater than …

Software Development assembly
Member Avatar for Thug Heart
0
98
Member Avatar for ctrl-alt-del

Hi all, I've been working with C# for some time now, even created a Mastermind-game yesterday to learn some stuff (Mastermind is a very nice training project by the way, I really had fun coming up with solutions) But while that I ran across a problem that I haven't been …

Software Development microsoft-access visual-studio
Member Avatar for ctrl-alt-del
0
172
Member Avatar for cipher

Iam trying to call a C# DotNet 2003 webservice from Visual C++ 6 app (used win32 console, mfc, atl_mfc dll) using Soap toolkit 3. The webservice takes a String input parameter and returns a String. The input parameter I pass through C++ is always recieved as NULL in C# webservice …

Software Development asp asp.net c# c++ gui
Member Avatar for yogesh.chhabra
0
336
Member Avatar for vishy_85

hi all, im having some problem , returning the buffer array to the main function, im new at this , i need to print the currentdate from the main function, is thr any way i can return the date to the main function ?? [code] #include <sys/time.h> #include <time.h> #include …

Software Development c
Member Avatar for Narue
0
100
Member Avatar for jibber87

Hi there, I'm trying to write a program that calculates the probability distribution for different initial conditions of a population model. The probability is calculated over a for loop over the parameter 'q' (which can be considered as a scaled version of the correcting "struggle for life" term in the …

Software Development c++
Member Avatar for jibber87
0
155
Member Avatar for jeevsmyd

Hi... Do you remember me? Am the amateur programmer who disturbs you with my never ending doubts.. :D As you guys advised I have decided to start learning c++ from scratch..! ;)As far as am concerned Files in c++ is the most difficult part in c++ in my syllabus ..! …

Software Development c++
Member Avatar for Narue
0
169
Member Avatar for Norbert X

Okay I don't get this problem at all: [code=python]import random def chance(number): number = input for each in xrange(number): n = random.randrange(100)+1 return n def extreme(x): z = x + 5 y = z - 3 return z, y #main repeat = 0 while repeat != 2: x = input("Enter …

Software Development python
Member Avatar for jlm699
0
149
Member Avatar for krispygrimace

First, I apologize for any concept errors about C++. I am pretty new. I am having trouble iterating through each node of a passed linked list. What I have right now is an implementation file with a few functions. The class is called listClass and has a private member function …

Software Development c++ linked-list visual-studio
Member Avatar for jencas
0
181
Member Avatar for leebria

Newbie to C programming here. I am trying to convert a char array into individual hex values and store them in an unsigned char array. Basically I have "3www6google3com0" and I would like to get the 8 bit hex value for each individual character from the string. I would like …

Software Development c
Member Avatar for leebria
0
1K
Member Avatar for sal21

[url]http://www.x-rates.com/cgi-bin/cgicalc.cgi?value=1&base=EUR[/url] Based the link how to count element in table of this page? note: is the table where are all currency values tks. in vba please

Software Development html-css visual-basic
Member Avatar for vb5prgrmr
0
125
Member Avatar for deep2sky

hi i am doing BCA and for MAJOR PROJECT i want to make a game in like PING PONG. if anyone can advice me the language that would be easy for it to make??. i am prefering JAVA

Software Development java
Member Avatar for stephen84s
0
75
Member Avatar for katamole

I'm currently doing a projecteuler problem, which requires finding the sum of all the primes below two million. I have a primitive function which determines whether or not a number is prime. This function is incorporated into the below function to produce a list with all the primes below the …

Software Development python
Member Avatar for MK12
0
168
Member Avatar for paradox814

Is there a way to change the color of the text in a JTextArea? I want to change all the text color to one color (other than black) and I just want to know how to do this. I see a lot of methods involving color but they only effect …

Software Development java
Member Avatar for carnado2008
0
1K
Member Avatar for crewxp

I have a small problem. I'm curious to see why this happens. If you run this code and enter the data, I put in a debug line. Inside the 'if (grade2>grade) block, the DEBUG printf's don't show the data correctly. Outside the if block, I print pretty much the same …

Software Development c++
Member Avatar for crewxp
0
145
Member Avatar for Mossiah

[code=cplusplus] // New2.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include <iostream> #include <iomanip> #include <string> using namespace std; void reverse(string& s); int _tmain(int argc, _TCHAR* argv[]) { string st="Word" ; cout<<st<<"\n"; reverse(st); cout<<st<<"\n"; return 0; } void reverse(string& st) { int i; int j …

Software Development c++
Member Avatar for iamthwee
0
166
Member Avatar for kamae

I need help in using "[COLOR="red"]between[/COLOR]" sql function. I don't know how to use it. I am comparing two time using [COLOR="red"]dtpicker[/COLOR]. The time should only be acceptable if I input between 6:00am and 6:00pm like 7am, 8am,.........6:00pm. 5am below and 7pm above are not acceptable. In need help. . …

Software Development sql visual-basic
Member Avatar for kamae
0
95
Member Avatar for jwill55

Hello everyone..How do i create a user manual or the instructions of the software in vb6? Is it possible to pattern the manual with the manual of mysql or the like.. Another question. How do i populate my treeview in vb6 from a mysql database?? Any help would be very …

Software Development mysql visual-basic
Member Avatar for debasisdas
0
1K
Member Avatar for bebe11bebe

[CODE]public class Election { private Voter v1; private Voter v2; private Voter v3; public String winner; int myTotal = 0; int hisTotal = 0; public Election(double pa1, double pv1, double pa2, double pv2, double pa3, double pv3) { for(int i=1; i<=3500; i++) v1=new Voter(pa1, pv1); for(int i=1; i<=3500; i++) v2=new …

Software Development java
Member Avatar for verruckt24
0
100
Member Avatar for tux4life

Hello, My problem is that the program always gives the same output: [CODE]There were no matching numbers !!![/CODE] The source of my program looks as follows: [CODE=cplusplus] #include <iostream> using namespace std; int main(void) { const int MAX_CHARS = 500; const int MAX_NUMS = 5; const int MAX_NUM_CHARS = 25; …

Software Development c++
Member Avatar for tux4life
0
137
Member Avatar for breatheasier

Hi I'm wondering how I would go about creating a program that will input data from about 1,000 files containing data such as this: [code] 2.825 1.00697992588 2.875 0.952989176901 2.925 0.91428970229 2.975 0.890110513425 3.025 0.879731596138 3.075 0.959217137445 3.125 1.07391392796 3.175 1.04874407027 3.225 0.857693793906 [/code] I'm wanting to generate an average …

Software Development file-system python
Member Avatar for Gribouillis
0
153
Member Avatar for sunderthomas

hey guys i want to slpit a sentence into words but the pogram i have written gives only the first word...can u help me plz..... [code] #include<iostream.h> #include<conio.h> #include<string.h> #include<dos.h> #include<stdio.h> void main() { clrscr(); char text[100]; int i=0; clrscr(); cout<<"enter the sentence"; cin.getline(text,100); while(i<strlen(text)) { char text1[]=" "; int …

Software Development c++
Member Avatar for monkey_king
0
165
Member Avatar for Crul

I'm trying to compile C and C++ files into a single executable using gcc. I've gotten my code to compile and run properly using borland and Visual Studio but I can't figure out how to get it to compile with gcc. This is what I've been trying: gcc -c dtio.h …

Software Development c++ visual-studio
Member Avatar for Salem
0
1K
Member Avatar for dattaforit

Dear Friends, I have a windows dll, in my perl script, i am able to load the dll using the Win32::LoadLibrary function and also i a getting the function pointer of the function in the dll, I am using Win32::GetProcAddress function to get the function pointer of the functions in …

Software Development perl
Member Avatar for KevinADC
0
233
Member Avatar for nagatron

Hallo to all, I am making an application that will target a particular link in the internet as if some is clicking it. I have a button target. Can anyone help me? please Regards, Neil

Software Development visual-basic
Member Avatar for javmedia
0
221
Member Avatar for vishy_85

im new to c++. im trying to create a function to get the systemtime every 1 minute and store it in a variable. im able to display the time using the time.h file. the problem is i dont know how to call the function every 1 minute and assign it …

Software Development c++ unix
Member Avatar for siddhant3s
0
84
Member Avatar for maniac1982

hi everybody , this is my first post here and my only hope !!! i have to build a website for my vb.net/sql server classes final project , it s a real estate website that has a sql server 2005 database and i have to connect throuhg it with vb.net …

Software Development sql vb.net web-server
Member Avatar for maniac1982
0
253
Member Avatar for Norbert X

Is there any way I can get an image to play in python with a function? Like I link the Python Code to the site with the picture on it or link it to my documents? I've tried researching it but I've gotten no results and I thought one of …

Software Development python
Member Avatar for Norbert X
0
125
Member Avatar for deepugtm

I want to write a program that can run a file in my hard disk.For example,a test.bmp file is there in location D:\home\test.bmp,that program should open(like double clicking on it ) that file (test.bmp) and i can view the image contained in the file.

Software Development c file-system
Member Avatar for csurfer
0
138
Member Avatar for fmylife

Ok so I have to turn in this C program today that is able to selectively sort a list of names from an input file, but when I compile it and run it, it doesn’t sort it correctly. Can anyone please help me here? I’m losing my mind to my …

Software Development c
Member Avatar for csurfer
0
103
Member Avatar for egmik3

Does anyone know of a simple command that could get the date and make a folder (mkdir) as its name? say todays date 20090304 as the folder name. I guess the first thing would be grep the date? Then run a mkdir command? Any help is appreciated! Thanks

Software Development shell-scripting
Member Avatar for eggi
0
145
Member Avatar for tpetsovi

The last funtion IsPrimeNumber () is giving me an error that states ..."Local Function definitions are illegal"....can someone please tell me why? Thanks [CODE] /****************************************************************** Name : Date : Homework # : Homework #6 Problem #1 Source : Action : Menu is displayed allows user to calculate Miles per Gallon, …

Software Development c++
Member Avatar for kbshibukumar
0
187
Member Avatar for vkarthik

Consider this situation: [code=c++] class Sample { std::string str; public: Sample(string &s) { // line 1 // line 2 str = s; // line 4 throw exception; } ~Sample() { } } [/code] So I have a string member variable, and I have assigned it to the parameter passed to …

Software Development c++
Member Avatar for vkarthik
0
165
Member Avatar for millanskie

does anybody know how to get the current user's path for xp /vista sample: "C:\Documents and Settings\Owner" or if you know how to get the installed program path "C:\Program Files\FileZilla FTP Client\filezilla.exe"

Software Development vb.net
Member Avatar for tmani_85
0
163
Member Avatar for aparnesh

My project needs to read records from a CSV file. The file contains 3 columns of data. Record is continuously being appended to the file by another application (about once every 6-8 seconds), and my application is to read the records and store the new ones. I am currently opening …

Software Development visual-basic
Member Avatar for vb5prgrmr
0
130
Member Avatar for TheBeast32

Hi, I'm reading the header from bitmaps. When I add up everything in a struct I've made, it comes out to 54 bytes. When I do a sizeof(BHeader), it says it's 56 bytes. It adds two null bytes after the B and the M when I save a header to …

Software Development c++
Member Avatar for TheBeast32
0
104
Member Avatar for olgratefuldead

I have the following in a dat file: Obe 20 12 15 20 -1 Twitter 16 12 18 19 -1 Karah 30 15 12 3 30 -1 Cappy 12 12 13 15 14 -1 Monkey 17 16 15 14 14 -1 I am trying to write a Java program to …

Software Development file-system java
Member Avatar for olgratefuldead
0
197
Member Avatar for Mossiah

[ICODE] #include "stdafx.h" #include <iostream> #include <iomanip> #include <string> using namespace std; char your_string[256]; char new_string[256]; void ReverseString(); int main() { cin.getline(your_string, 256); ReverseString(); cout << new_string << "\n"; return 0; } void ReverseString() { int x = strlen(your_string)-1; for(int y = x; y >= 0; y--) { new_string[x-y] = …

Software Development c++
Member Avatar for William Hemsworth
0
74
Member Avatar for Mossiah

[ICODE] #include "stdafx.h" #include <iostream> #include <iomanip> #include <string> using namespace std; // prototype declarations void concatString(char szTarget[], char szSource[]); int main (int nArg, char* pszArgs[]) { //read the first string char szString1[256]; cout << "Enter string #1: "; cin.getline(szString1, 128); //now get the second string char szString2[128]; cout << …

Software Development c++
Member Avatar for siddhant3s
0
84
Member Avatar for eck3ko

Hi everybody i really need your help, this is my problem: I have a c++ dll that use MFC, i need to use it in a c# project I need to end with another dll that to use it in the c# project I just cant find solution all over …

Software Development c# c++
Member Avatar for eck3ko
0
172
Member Avatar for MrPickle

I want to store several structs in a vector, but the struct has a template so I get a compile error, how can I store the structs in the vector? Example: [code]template<class First, class Second> struct foo { First f; Second s; }; std::vector<foo> bar; //error! [/code]

Software Development c++
Member Avatar for StuXYZ
0
99
Member Avatar for pash

Hi everyone!!!, am new to web services and trying to write a web method which accepts and return and array of int. Am using a c# client to consume it, when i call the web method in the client i get an error saying "can not convert int[] to int?[]". …

Software Development java
Member Avatar for pash
0
71
Member Avatar for freddan007

Is it possible to get the return value of a function started with the CreateThread function or is the only way I can get a value from it to use global variables? I searched but i found nothing. Thanks.

Software Development c++
Member Avatar for freddan007
0
526
Member Avatar for Alibeg

I ve just installed ubuntu intrepid ibex (8.10.) on my laptop i have been using it for a while already but i just wanted to clear the system completely so i installed it, put some updates, some programs, but i also installed CodeBlocks using synaptic manager. Everything finished smoothly. Now, …

Software Development c++ ubuntu
Member Avatar for Alibeg
0
621
Member Avatar for scru

Does anybody know a good way place to find developers for an open source project?

Software Development open-source python
Member Avatar for leegeorg07
0
156

The End.