199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for mufliha

hiiiiiiiii evryone, plz help me out.i want to delete a record but not able to do so.plz check the code and rectify the mistake.it is giving some unknown error.thnqqq [code=csharp] private void button1_Click(object sender, EventArgs e) { int i; String sqlvar =("Delete from emp where empno=" + textBox1.text); string conn1 …

Member Avatar for JerryShaw
0
100
Member Avatar for Soundgarden

Could someone tell me if there is anyway to pass the selected items(files) from Explorer to my Prog....Now I can retrieve the last item selected using the registry. ie shell -> command -> Prog %1. But if the user Selects multiple items(files) in Explorer the %1 can only send the …

Member Avatar for Soundgarden
0
121
Member Avatar for TKArtist

I need some help. I am modifying a script that I wrote some time ago that uses JavaScript to calculate a return on investment. The script works pretty well but it sometimes returns values with an infinate number of digits past the decimal. Since this calculator is dealing with money …

Member Avatar for TKArtist
0
218
Member Avatar for policeachan

it is known that dennis rithie made c with only 32 keywords and writing functions is the responsibility of the programmer. who wrote the functions printf, scanf . what is it's sourcr code?

Member Avatar for Narue
0
170
Member Avatar for tusharvichare

Hi, I create one application, in that application i am calling one vc++ exe so i want to run that exe in background which is not visible to the user. If any one have idea about this please reply on this. Thnak you.

Member Avatar for Teme64
0
253
Member Avatar for nehagupta0809

hi i have two flat file having content like this file1.txt raghu,23,1000 ragiv,66,1800 file2.txt ramya,45,2455 ragiv,66,1800 i need to compare the two file and print the content in the other file which are different among the two file i.e raghu,23,1000 ramya,45,2455 plz help thanx in advance

Member Avatar for stephen84s
0
225
Member Avatar for khushal_kkk

the code that i have coded is of operator overloading for incrementing and the i need some help in the operator overloading for decrementing ,mutiplication and division please send the following in a code form shall be thankful.. [CODE] #include<iostream> class Weight { private: int kg,grms; void ConvertWeight() { if(grms …

Member Avatar for jencas
0
140
Member Avatar for Dinomike1000

Hello, I'm trying to create a window with a C++ win32 app project. I am using creating the HWND object, setting its properties, and then registering the object. Also, there is a WindowProc function. What seems to happen is that the object registers but when I call CreateWindowA(...), this function …

Member Avatar for jencas
0
1K
Member Avatar for AutoC

Hi, I've coded huffman coding.I've formed my codebook.Its correct upto that point.I'm using unsigned int(32 bits) and packing the codes into it and writing to file whenever 32 bits get filled.Somehow..my resultant file is larger than my source file.Am i doing something wrong?

Member Avatar for AutoC
0
282
Member Avatar for princess_19

Sorry 4 bothering you guys... its that im a beginner at this... they gave me a problem but I dont know how to interpret it, it says as follows: [i]The Babylonian algorithm to compute the square root of a number n is as follows. (1) Make a guess, say g, …

Member Avatar for ithelp
0
99
Member Avatar for yair7190

hi everyone, im trying to write a shell script that calculates memory usage of several processes (i basically run bash several times). here's the script: [code=bash] #!/usr/bin/bash memUsage=`ps -ef | grep bash| awk '{sum+= $2}'` echo $memUsage if $memUsage>130000000000000 ; then echo "mem usage exceeded" else echo "mem usage normall" …

Member Avatar for ghostdog74
0
120
Member Avatar for Demonisya

Hey....Help me in this one please... I have to encode something that the output will come out as example....10, 8, 6, 4, 2, 0..... please help me what I did wrong....Thanks ...and I like to thank Narue too...for helping me in my last problem....I have to do this without using …

Member Avatar for Demonisya
0
310
Member Avatar for ryy705

Hello, I am retrieving html out of a multipart message using: [ICODE]$html = imap_fetchbody($imapStream, $emailId, '2');[/ICODE] And I am retrieving plain text by using [ICODE]$plain = imap_fetchbody($imapStream, $emailId, '1');[/ICODE] My question is: Why is this working? I got this to work through trial and error. I don't know why I …

Member Avatar for pritaeas
0
372
Member Avatar for naidop

hi, I am trying to replace certain strings in my mysql database. I have addresses such as this: 60 W 23rd St, New York 10010 Btwn 5th & 6th Ave I would like to get rid off all the words starting from New York including the comma before the word …

Member Avatar for varmadba
0
81
Member Avatar for katrinawafs

it's my first time here and i hope somebody will help me solve my problem about my project...i have a project about payroll system using c# that provides web user clock in and clock out(minimum working hours-8hrs, it will detect if its overtime) , generate time worked, generate payroll slips, …

Member Avatar for miculnegru
0
125
Member Avatar for arupa

you will have to write a programe , and debug it and the it should give the result 'c#-programming language,'can you help me.

Member Avatar for miculnegru
0
149
Member Avatar for jainendra.shah

hello frds, I m very new about xml. I just write table in xml files and now want to execute sql statement on that files. provide help. Thanks in advance.

Member Avatar for LizR
0
93
Member Avatar for redflame777

In the code below I am getting a complier error that looks like this: ';' expected }while (employee_equals("")) ^ I am not sure why I am getting this error or how to fix it. [code] //get employee name { System.out.println( "Enter employee name: " ); employeeName = input.nextLine(); do { …

Member Avatar for redflame777
0
124
Member Avatar for laghaterohan

Hello out there ? i have one question rather a strange one i have two tables say admission and attendance with different fields however admn id , name are the fileds common to both of them when i add my data in admission table (via form) can i at the …

Member Avatar for Jx_Man
0
226
Member Avatar for mrjoli021

I am new to programing. i know how to return a date [code] public Date yesterday() { if(this.day == 1) { if(this.Check("Mar", this.month)) { if (this.checkLeapYear(this.year)) { this.day = 29; this.weekDay = this.week[this.flipBack(this.week, this.weekDay)]; this.month = this.monthOfYear[this.flipBack(this.monthOfYear, this.month)]; } else { this.day = 28; this.weekDay = this.week[this.flipBack(this.week, this.weekDay)]; this.month = …

Member Avatar for masijade
0
222
Member Avatar for devnar

I found the following code in the 'Code snippets' section( written by nanodano). i tried compiling it in my Dev-Cpp compiler, and i got the output as shown in the attachment for up, left, down and right arrow keys respectively. All other defined keys i.e., F1 to F10 gave the …

Member Avatar for devnar
0
197
Member Avatar for navsaug

Hi - Please help me with the following. I have to a parse a log file and here is the part of the log file which is occurs repetitively. [Text1] [Text2] [Text3] [Text4] [Text5] [Text6] [Text7] [ ===== PATTERN1 ======= Text8_line1: value1 Text8_line2: value2 Text8_line3: value3 Text8_line4: value4 . . …

Member Avatar for katharnakh
0
81
Member Avatar for Dalli

Hello, I have a problem with something very simple, but because of my 0 knowledge in js, i can't understand what am i doing/thinking wrong. I have one main site, that have 2 small iframes in between everything else. In the second iframe i have a form, when i submit …

Member Avatar for essential
0
5K
Member Avatar for Seagull One

I've been doing some more work on my robot today and I'm having a bit of trouble with calling a random function like so: [CODE=python] import speech import random import pythoncom running = 1 class OnTopic: topic = "nothing" def TopicChange(self): self.topic = "nothing" print OnTopic.topic class Know_Raptors: def RapYoung(self): …

Member Avatar for vkumar42
0
1K
Member Avatar for cy163

Hello ALL, In my program, I first receive data from another machine, then processing the data. Data receiveing is fast, but data processing is relatively time consuming. Hence, I put the code for data processing in a POSIX thread (i am using Red Hat enterpriese linux AS 4). In the …

Member Avatar for cy163
0
144
Member Avatar for melicaster

I would like to have a count down that have days, hours, minutes and seconds. I have labels, lbldays as Days lblhours as Hours lblminutes as Minutes lblseconds as Seconds I want to countdown to 1 January 2009, 0000, and it will counting seconds by seconds. When it reach the …

Member Avatar for silambharasan
0
179
Member Avatar for abu taher

what difference between access and sql. i use access in a database project not sql. what what problem i will faced for not use sql. or what advantage i will get for using sql.

Member Avatar for Ancient Dragon
0
100
Member Avatar for patrick1984

Hi, Im trying to make the price appear in a text box in a form when the user selects the quantity from a drop down box. The price is fixed at 38.50. Any help is highly appreciated, here is the code in my form (I havent attempted any javascript yet …

Member Avatar for essential
0
94
Member Avatar for SyLk

Im attemtping to return the next value in this suequence recursively 1, 4, 11, 34, 101 this is what i've done thus far, im not sure how to pass this list to the function to compute the next value which i believe to be 304. can some explain how i …

Member Avatar for VernonDozier
0
112
Member Avatar for Helgso

I'm a beginner to C++, I use CodeBlocks which I think is related to Ming so please make your answers pointing to C++ but not Visual C++. Thanks! And also, please ecplain things in detail ... Well, after a long search on the net I found the code that looks …

Member Avatar for Helgso
0
333
Member Avatar for Th3_uN1Qu3

A lot of blah blah, scroll down for the matter i need help with... Hello everybody. I'm a moderator of a gaming forum and a big fan of bishoujo games. I sometimes do my own game releases/revamps, but what i've did till now didn't involve much "real" coding. I want …

Member Avatar for Th3_uN1Qu3
0
199
Member Avatar for want_somehelp

Iam having problem with the following code: All this code does is extract words separated by spaces from string when i compile it i get error27 C:\Dev-Cpp\Untitled1.cpp invalid operands of types `char*' and `char*' to binary `operator*' plzzzz help [code=cplusplus] // Tokenizing program:pointer version #include <iostream> #include <cstdio> using namespace …

Member Avatar for ArkM
0
144
Member Avatar for chiwawa10

Hi all, I have a piece of program written in Visual C++ which works just fine in Win XP. However when its run in Vista, the error message "A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available." …

Member Avatar for Salem
0
118
Member Avatar for shooshooo

[B][COLOR="Red"]Hi all i have a question which i need it's answer as soon as possible plz . i am a student in software engineering faculty , me and my team are making a game using c# language. so i need to know what graphic programms that i can use in …

Member Avatar for William Hemsworth
0
128
Member Avatar for marcosjp

Hello there! I wrote a small program in C on Windows using DevC++. It works perfectly, but when I try to run it on Linux I get compiler erros at these lines: [code=c]void printOctets(int octets[][], char []); void printInterval(int suntwk[][], int brdc[][]); [/code] This is a college assignment and I'm …

Member Avatar for marcosjp
0
102
Member Avatar for Muaz AL-Jarhi

Dear, All Hello, Im a student studying Computer Science and Engineering at the German University in Cairo (GUC). I take a course were I should Implement a game called "Attaxx" using java programing. I should submit a java engine for the game by next week or so... its quite similar …

Member Avatar for naniesc
0
187
Member Avatar for Tommoh

Hi there. I do not understand the following line of code. [ICODE] program_counter = (memory[0xFFFD] << 8) | memory[0xFFFC]; [/ICODE] [QUOTE] The array memory[] represents the memory space of our processor. The starting address for a 6502 program is stored at location $FFFC and $FFFD in memory. The 6502 stores …

Member Avatar for Tommoh
0
172
Member Avatar for Jennifer84

I think this could be a simple question. I have declared a 2D vector like below. The thing is that by default all elements is set to 0. What I want to do is to declare all of these elements to: -1 how this is possible without doing that with …

Member Avatar for twomers
0
739
Member Avatar for Deeapkkamboj

Hi, I wanna know my site traffic ranking for last 3 month, (Apr-Jun'08), yet i didn't install any tracking code...............plz suggest me any site or tools...

Member Avatar for einfoway
0
116
Member Avatar for jhaymayclow

Hi everyone... i'm just a beginner in vb2008 i try to make a program that will shutdown pc in the network and i try the shell command below.... shell("shutdown -m \\PC04 -s") I type this code but nothing happen it just open a command promt look alike. PC04 has not …

Member Avatar for silambharasan
0
227
Member Avatar for PaladinHammer

This thing is pushing me around. I've been through my book, and I have even downloaded the professor's notes on subject (he posted them). I can't find what I'm doing wrong. Below is the code I've written, below the code is what the console is "supposed" to look like. (Code …

Member Avatar for VernonDozier
0
110
Member Avatar for nizbit

I really don't know where to start and to be honest I really don't know what I'm doing. I was given this project and we never went over these topics in class or the previous class. My attempts to wing it are not going so well and quite frankly its …

Member Avatar for ivailosp
0
181
Member Avatar for seattlemom41

I am (obviously) extremely new to javascript. I need to have this script execute once, then quit. I've tried several commands but I must be an idiot...could someone please help me modify it? Thanks so much... [code] <!-- Begin var speed = 5; var cycledelay = 1000; var maxsize = …

Member Avatar for seattlemom41
0
114
Member Avatar for guest7

Hi, I am using fgets in my program to count the number of lines in file. The number of columns in each line is entered by the user. But the number of lines are not known. After counting the number of lines in the file i am again using it …

Member Avatar for guest7
0
164
Member Avatar for john88

Hi I have a question. Basically I want to create a dictionary of words, where a user has typed in a couple of sentencies. Im then supposed to sort it in alphabetic order and also count how many times a word has appeard. The sentence contains letters and whitespaces. Ex: …

Member Avatar for john88
0
94
Member Avatar for sobam15

This triangle shape full of numbers is the reference I have to use for the first part of a homework problem, but I haven't the slightest clue as to why the rows and columns are indexed starting at zero and what that means in terms of all the other rows. …

Member Avatar for sobam15
0
244
Member Avatar for patrick1984

Hi, Im trying to make the price appear in a text box in a form when the user selects the quantity from a drop down box. The price is fixed at 38.50. Any help is highly appreciated, here is the code in my form (I havent attempted any javascript yet …

Member Avatar for essential
0
234
Member Avatar for rajeesh_rsn

I had a website of 75 html pages Now I need to add a search into my index page. I wish to done it in PHP because my web server supports PHP. Please help me.... Thanks in Advance Rajeesh

Member Avatar for rajeesh_rsn
0
121
Member Avatar for Marcellus

Is there a way, in BNF, to specify a rule that an element consists of a list of items, and each item is optional, can appear only once, and order isn't important? For example: <meal> ::= <appetizer><salad><entree><dessert> <appetizer> ::= <empty> | <cheeseplate> | <breadsticks> | ... etc. So I have …

Member Avatar for Marcellus
0
77
Member Avatar for BattlingMaxo

I havebeen using wxdev c++ but have problems when compiling directx code even though I have installed devpaks for DX9 anyway i think the best thing is for me to get a real compiler not freeware. Are there any good compilers that have gui design tools that will compile directx …

Member Avatar for BattlingMaxo
0
121

The End.