132,728 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for hapiscrap

C++ program in Bloodshed Dev C++, I was told by the compiler log that I have 1 error and I cant figure it out! [code] #include <iostream.h> int main () { int employeeid; int hoursworked; float hourlyrate, grosspay, taxamount, netpay; float const TAXRATE = 0.10; cout << "Enter The Employee …

Software Development c c# c++
Member Avatar for Nick Evan
0
123
Member Avatar for abhishek_jammu

hw cn i enter & save data in a form which is a subset of another form(database) that is already populated. i want that when i update this record it automatically gets saved in the mother database against the respective record

Software Development visual-basic
Member Avatar for maheshsayani
0
71
Member Avatar for efarook

Hello everybody, I want to make an installer of my VB6 app so that it installs all the required files, create database, tables, Stored Procs in MSSQL 2000. Is there anybody who can give me some idea on this? Thanks in advance!

Software Development mssql visual-basic
Member Avatar for efarook
0
121
Member Avatar for menelaussa

Hi, Can anybody help me to add a blank row into a datagrid? Thank you!

Software Development
Member Avatar for o_shawky
0
92
Member Avatar for alpe gulay

..I made a simple project in java using JCreator.., this is my first time to make a project file,. I made a class named put_data in w/c will put some data in my database then, I made also another class get_data in w/c will get the data from my database!.. …

Software Development java
Member Avatar for alpe gulay
0
75
Member Avatar for heav_yduty

Create data base in Access 2003 and try to connect it in my programm using DAO Open("path"). After compiling getting error message "Unrecognized database format db1.mdb". But if i create a data base in program with help of DAO Create, everiting is working. But problem is that i have to …

Software Development c++
Member Avatar for mitrmkar
0
250
Member Avatar for Aamit

I want to call System exe of Client from server. How to call driverquery.exe of client from server.... server->call driverquery.exe of client->information to server...... No manual execution on client side.... How to do this???

Software Development c++ client-server
Member Avatar for Agni
0
111
Member Avatar for riahc3

Hey everyone. Glad to become part of this community and I hope I continue to come here for a long time seeing as this site gives great helps. My problem: I have a struct that is (for example) the following: [code] #define NUM 999 struct client { int id; char …

Software Development c file-system
Member Avatar for Clockowl
0
181
Member Avatar for mussa187

I am trying to call the method ip_uri from class into the main but it does let me what am i doing wrong? [code=cplusplus] #include <iostream> #include <string> using namespace std; class ip_uri_store { public: string count; // C++ string s are classes so this is aggregation. int id ; …

Software Development c++ linked-list
Member Avatar for mussa187
0
112
Member Avatar for Aleczz

I have a debug assertion failed problem with akrip code. That code is downloadable from [url]http://akrip.sourceforge.net/simple.c[/url] I have add a new code to function RipAudio(...) where i want to add new folder and name the file to it. [code] void RipAudio( HCDROM hCD, DWORD dwStart, DWORD dwLen, int song ) …

Software Development c file-stream
Member Avatar for Aleczz
0
314
Member Avatar for realone

Thank u so much for sending this code,and i appreciate it so much.But i need to be able to move foward by getting thesame code that will save into the database,Others conversion i used were'nt working.Pls help me with the code that will save in to the database(SQL server) with …

Software Development image open-source sql visual-basic
Member Avatar for debasisdas
0
291
Member Avatar for Jose_A_Duran

I've been using VB 6.0 for a long time and this is the first time that I run into this. When I make changes to a project and try to save it, VB gives a message "File [name of the project.vbp] not found". I've checked that I tried to save …

Software Development visual-basic
Member Avatar for debasisdas
0
188
Member Avatar for shankhs

Hi all, Do u have any idea that whether I can pass any function as a parameter to another function? like: [code] #include<iostream> #include<fstream> #include<vector> using namespace std; int i=5,j=8; int add() { int c=i+j; return c; } int sub() { int c=j-i; return c; } int try(int *add) { …

Software Development c++
Member Avatar for RenjithVR
0
157
Member Avatar for e_pech

Hey! I'm working with MFC (SDI) and I have 3 views in the window (TreeView, FormView and OpenGL). Everything is working ok. Now I want to add a new item on the TreeView to display on the FormView the details of the selected item, however the new items belong to …

Software Development c++ opengl
Member Avatar for e_pech
0
431
Member Avatar for bhuwanrc

[code=cplusplus] #include "Student.h" #include<iostream> #include<cstdlib> #include<string> using namespace std; Student::Student() { name=" "; surname=""; assignment1Mark=0; assignment2Mark=0; labTestMark=0; examMark=0; } Student::Student(string name,string surname,int a1, int a2, int test, int exam) { name=name; surname=surname; assignment1Mark=a1; assignment2Mark=a2; labTestMark=test; examMark=exam; } string Student:: getName()const { return name; } string Student:: getSurname()const { return surname; …

Software Development c++
Member Avatar for vmanes
0
354
Member Avatar for zls11610

what function can converte a real to string

Software Development python
Member Avatar for zls11610
0
77
Member Avatar for guest7

Hi, I wish to delete the last three lines of a file iteratively. I tried this in unix shell scripting but it is not working.. lines=$(wc -l < s27.cnf) target=$((lines-2)) sed '$target,$lines d' s27.cnf > f2.cnf mv f2.cnf s27.cnf I am getting an error "sed: 1: "$target,$lines d": undefined label …

Software Development shell-scripting unix
Member Avatar for eggi
0
88
Member Avatar for Benniit

Please I've been struggling to use a [B]datagrid control to display records with check Boxes in VB 6.0 [/B] but which I could not, and has been come a headache for me. Can any kind persons/Gurus help me solve this burning problem? For God's sake. I've been going from site …

Software Development visual-basic
Member Avatar for jk_bscomp
0
82
Member Avatar for behshad312

I can't upload very large files (more than 500 MB) on the site using ftplib library. Who shall help me?

Software Development python
Member Avatar for jrcagle
0
83
Member Avatar for Seagull One

This problem has been bugging me for the past few days. I've tried all sorts of different things to get it to work, studied my books, but nothing. It goes like this: Let's say I want my robot to recite the three laws of robotics. I can say, "Recite the …

Software Development python robotics
Member Avatar for Seagull One
0
143
Member Avatar for FreezeBlink

For instance, if you have the following (random example): [code=Python]w = input("Enter width") h = input("Enter height") for x in range(0,w): for y in range(0,h): print x,y if (raw_input("Stop? y/n") == "y"): break[/code] That would only break out of the y loop. You could introduce another variable, and change the …

Software Development python
Member Avatar for vegaseat
0
174
Member Avatar for Black Magic

Hey, I got bored so was making this program and i know how to get the highest and lowest number but I was wondering if there was a even quicker way, or would : [CODE=C++]if( number1 > number2 && number1 > number3) highNum = number1; else if( number2 > number1 …

Software Development c++
Member Avatar for n.aggel
0
151
Member Avatar for Anime10112

Hello, Im new to Java Programming, and Im trying to create a Web Applet of a Income to Debt Ratio calculator. I think Im missing a Math code, because when i run the applet everything works except the when I click calculate it says my debt to ratio income is …

Software Development java programming-construct
Member Avatar for jasimp
0
109
Member Avatar for jesseb07

Hey, I've been trying to work with wxwidgets so I can start learning GUI's, problem is, it seems like all their libraries are full of errors. I have a hard time believing that a self-respecting group of people would release, as stable, something that would take hours, if not days, …

Software Development c++ gui ubuntu
Member Avatar for jesseb07
0
152
Member Avatar for toolbox03

How do I convert the characters in buffer to upper case?

Software Development c
Member Avatar for jephthah
0
232
Member Avatar for hapiscrap

Bloodshed dev c++, recieved 1 error on line 24 (return 0), here is the error.... Compiler: Default compiler Executing g++.exe... g++.exe "C:\Dev-Cpp\payroll.cpp" -o "C:\Dev-Cpp\payroll.exe" -g3 -I"C:\Dev-Cpp\lib\gcc\mingw32\3.4.2\include" -I"C:\Dev-Cpp\include\c++\3.4.2\backward" -I"C:\Dev-Cpp\include\c++\3.4.2\mingw32" -I"C:\Dev-Cpp\include\c++\3.4.2" -I"C:\Dev-Cpp\include" -L"C:\Dev-Cpp\lib" -g3 C:\Dev-Cpp\payroll.cpp: In function `int main()': C:\Dev-Cpp\payroll.cpp:24: error: expected `;' before "return" here is input........ Execution terminated [code] #include …

Software Development c c# c++
Member Avatar for Salem
0
348
Member Avatar for ara_neko25

i can't think of the logic of this machine problem.. the problem statement is this.. Using loop, write a program that will ask the user to enter a character for left or right. Then, the user will enter a number. The program should generate a ladder of x wherein the …

Software Development c++
Member Avatar for Salem
0
113
Member Avatar for EngSara

hi.... I need a c++ code that read a log ( Contains numbers and letters) file and compute the average.... This is a sample of the log file.... ********************************************************** Input vector # 99: OUTPUT: 0 1 0 1 0 **** Vdd = 1.8 **** Tclk = 0.1 **** SER(FIT): 1.1e-002 …

Software Development c++
Member Avatar for EngSara
0
260
Member Avatar for pattyps36

Help please! I need help putting the timer in the event, and putting it in the class. I am having problems with the class particularly the scoreboard timer. I believe I figured every thing else out..Please view attached.

Software Development java
Member Avatar for pattyps36
0
125
Member Avatar for cwolfraven

Hi. I am totally new to python. I have a problem that I have been trying to solve without any form of solution. I have a group of files in Directory A that are named like: Text__###__TEXT___###.tif These are dummy files. The real files are in Directory B and are …

Software Development file-system python
Member Avatar for Freaky_Chris
0
99
Member Avatar for Shadow14l

I just want a console to run. When I use this function, I don't ever want the automatic tk window to appear. How would I use this function without any gui? *Also on a side note, what is the python code tag? (python)is it this :P?(/python)

Software Development gui python
Member Avatar for Shadow14l
0
245
Member Avatar for manjusaharan

HI all, Can anyone tell me the method of detecting the presence of dotnet framework 2.0 Thanks in advance . Manju Saharan

Software Development
Member Avatar for majestic0110
0
161
Member Avatar for tondeuse34

Hey guys, lately i've been having some trouble with file I/O but usually i don't heres an example of reading a file: [CODE]print "\nReading..." myfile = open('myfile.txt', 'r').read() print "\n",myfile[/CODE] but is there and easier way to do that because when i try to run the program just stops, it …

Software Development file-system python
Member Avatar for tondeuse34
0
113
Member Avatar for Motvel

Which functions can help me to convert a DATE() into a double or integer number? Can i convert a Gregorian intro Julian date? Thankyou.

Software Development java
Member Avatar for Motvel
0
96
Member Avatar for kimbostun

i want to Write a program that can serve as simple calculater in java programing that can add , subtract , multiply and divide this example that i want to it look like Calculator is on. Result =0.0 +5 Result +5.0 =5.0 New result =5.0 *2.2 Result * 2.2=11.0 Update …

Software Development java
Member Avatar for jwenting
0
109
Member Avatar for virtual_friend

[[U]I][B]My Doubly linked list doesnt work when i try to display using backward/reverse traversal... Will you please help me....[/B][/I][/U] [IMG]http://www.withfriendship.com/user/images/616/1vijay.jpg[/IMG]

Software Development c linked-list
Member Avatar for mitrmkar
0
76
Member Avatar for Google Spider

Hi, [URL="http://www.webinmind.net/bpc.html#two"][U][COLOR="Red"]Someone told me to use this code to clear the input buffer..[/COLOR][/U] [/URL] [code]while((ch=getchar())!='\n' && ch !=EOF);[/code] But I fail to understand how it actually works. For example, there are two newline characters in the buffer [quote] [B][U]This is my buffer[/U][/B] \n \n [/quote] Now getchar() grabs the first …

Software Development c
Member Avatar for Narue
0
129
Member Avatar for Kevin Baker

I have an assignment for school to make a program called the game of life. This program takes values from a data file and places them in a 2d array. All the values taked are set to true in the array and any empty places default to false. Then it …

Software Development c++
Member Avatar for Salem
0
138
Member Avatar for Lotus_2011

Hi, Can anyone help me in this code bubble sort in c++,,, this is my code.......[CODE]void main() { int A[5]={7,2,10,15,3}; int i,j,swap; for(j=0;j<5;j++) { for(i=0;i<5;i++) { if(A[i]>A[i+1]) { swap=A[i]; A[i]=A[i+1]; A[i+1]=swap; } } } for(i=0;i<5;i++) cout<<A[i]<<endl; }[/CODE] :(

Software Development c++
Member Avatar for Lotus_2011
0
121
Member Avatar for ohhmygod

[CODE=c] #include <stdio.h> #define M 21 #define N 2 #define INPUTFILE "C:\\Documents and Settings\\Duy Anh Bui\\My Documents\\Uni Stuff\\Eng Computing\\Sourcecodes\\Exercise 2\\in.dat" #define ARRAYFILE "C:\\Documents and Settings\\Duy Anh Bui\\My Documents\\Uni Stuff\\Eng Computing\\Sourcecodes\\Exercise 2\\array.dat" float Quadratic(float,float,float); //Quadratic Function Prototype int main () // Start main() { float a[M][N] = {0}; // Array a …

Software Development c engineering file-stream
Member Avatar for Ancient Dragon
0
194
Member Avatar for n.aggel

hi guys, it's been a while since i used c for anything so here goes a question tha may seem silly. I have 2 variable length arrays.... [code=c] int main() { int n = 5; int m = 6; int before[n][m]; int after[n][m]; array_function( 5, 6, before, after ); } …

Software Development c
Member Avatar for n.aggel
0
379
Member Avatar for sam_only96

hi all! how can we list all directory as well as file(all hirerchical) in python script by giving the path as input

Software Development python
Member Avatar for sam_only96
0
265
Member Avatar for Cybulski

Hello everyone. Welcome to my first post. I have problem, it didn't brough me here, but maybe someone figure it out, I'm staring at this piece of code for hour. I'm trying to make directory listing class. It puts filenames and directories to vectors. It's not finished, yet not working …

Software Development c++
Member Avatar for mitrmkar
0
354
Member Avatar for grommet2481

I know that this is a simple one but never the less I forget how to do it. How do I create white spaces on my screen. Im writting in DEV-C++. I want my output to look something like this Name title pay Sam Uni student shit I know how …

Software Development c++
Member Avatar for grommet2481
0
93
Member Avatar for noraantonia

Hello, I have a question. I work in visual c++ in a document/view arhitecture (SDI application) and i draw some stuff with some opengl functions (cubes, cylinders) but when i hit the "New" menu from the File menu it doesn't erase or clear my drawing I don't know why. Can …

Software Development c++ opengl visual-basic
Member Avatar for noraantonia
0
91
Member Avatar for anbuhikaru

i need to convert this JApplet program into a JFrame, but dont know how to do it, can anybody help me please? [this is extremly urgent as i need to have this done by tuesday] [code=language] /*Game.java 5.5.08 This program, Game.java, is an educational game that tries to allow the …

Software Development engineering java java-swing pay-per-click
Member Avatar for jwenting
0
86
Member Avatar for mattcrow

Hi everyone I need to hand in this assignment today :( Im trying to read from a file and read it onto the screen, my code keeps showing up an error saying 'java.lang.NoSuchMethodError: Main' Here is my code: import java.io.*; import java.awt.*; import java.applet.*; public class Empty_3 extends Applet { …

Software Development java
Member Avatar for javaAddict
0
145
Member Avatar for anbuhikaru

I need to read in text randomly from a text file, so does anybody have code for that? pretend the text file is called CommunityChest.txt i prefer the use of the scanner class or the use of text readers thank you! the text file is included below if anybody needs …

Software Development java
Member Avatar for javaAddict
0
228
Member Avatar for alikoli

Hello every body.............. any one can help me about this program. I want to create a simple program in C++ i want When the program runs they prompt "Enter the Names:" for example: Name1: Abc Name2: Cup Name3: Altavista Name4: Yahoo Name5: Mbni Name6: Sun Name7: Mani Name8: Google Name9: …

Software Development c++
Member Avatar for scarface3288
0
789
Member Avatar for geetajlo

i have 2 form namely appointment and drug. in the appointment form there is datagrid containing 2 columns namely drugname and quantityused. in the drug form i have 2 textbox namely txtoriginal quantity and txtquantityleft.. my problem is that i want the txtquantityleft takes the originalquantity substract the quantityused column …

Software Development vb.net
Member Avatar for geetajlo
0
68

The End.