199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Sandman13

im so new here i dont know if this is the right place to ask this or not but here goes>>> i need to learn how to right a code for sum thing and in C++ im so lost on how to do this is there sum1 here that wouls …

Member Avatar for ithelp
0
106
Member Avatar for WHTZ

I have a test soon and are having troubles with the following questions.. 6) A local variable is a: (A) variable declared in a field (B) public statement of a variable in a method (C) private statement of a variable (D) variable declared and used within a single method 9) …

Member Avatar for PoovenM
0
102
Member Avatar for sweRascal

Hey all, sorry to bother you but I have been wrecking my brain with this issue. I have been programming php for several years and needed some portable console apps so my natural choice was to go to c++. Now I got stuck when trying to create an sql query …

Member Avatar for sweRascal
0
111
Member Avatar for walelawal

Hi Group member, Am a beginners programmer. i have a task of extracting data from a text database, split and write it to another specify folder.Pls i need a code to do this. thanks

Member Avatar for jackline
0
81
Member Avatar for zawpai

Dear all, Could you please help me? I would like to know whether it is the same or not. Is it the same "mouse click" and "mouse Press"? I want to detect the mouse is pressing with API. Which API should I use? I actually want to know the detection …

Member Avatar for Jx_Man
0
150
Member Avatar for Venom Rush

Hi there I'm using preg_replace to replace ' and " with a backslash in front of them so that I don't get problems with my MySQL INSERT queries. But at the moment I can only replace them with one charater as below: [code=php]$unedited = $_POST['content']; $content = preg_replace("/['|\"]/", "'", $unedited);[/code] …

Member Avatar for Venom Rush
0
214
Member Avatar for abeshare

// I want to dislpay my cout in an acsending order by ssn // here is the program [code=cplusplus] #include <iostream> #include <cstdlib> #include <string> #include <fstream> #include <math.h> #include <ctype.h> //Ebrahim Sharif //ECE 370 //1-16-2008 using namespace std; void getPersonalInfo();//function prototypes int Str2Int(string InpStr); long Str2Long(string); void lookupPerson( char …

Member Avatar for Nick Evan
0
122
Member Avatar for Cente

Please need help I have an code for send a newsletter by the help of a good friend, but when I tried looks fine and when I open the email I received contain the newsletter picture are not appeared all necessary image are also uploaded in the same folder. PHP …

Member Avatar for Cente
0
112
Member Avatar for bcm

Hello friends !!!!! I want to do a project similar to [COLOR="Red"]alarm clock[/COLOR]. If I have written some timings in a string or some thing, whne the current time of clock equals to the timings given it should display the next time given in that string to the user in …

Member Avatar for waynespangler
0
109
Member Avatar for lydia21

hi, i want to develop a application.... where the user can enter the no of text boxes he wants..in the next page based on the user input it should disply the text boxes with different id

Member Avatar for lydia21
0
290
Member Avatar for priyankaagrawal

Hello everyOne, I have build one active x control,now use this active x control in website,now i want to run this website in different machine with link [url]http://192.168.0.3/Website/Default.aspx[/url]. But the requirement is that .net framework must be installed on each machine where i want to run the link,but i don't …

Member Avatar for priyankaagrawal
0
104
Member Avatar for Texpert

Hi, I have this app running fine on my pc with connecting to SQL server on my localhost using windows authentication. Now I am going to deploy it on my client's server where SQL Server 2K DB is on server "abcd" with SQL Server credientials (No windows authentication) My problem …

Member Avatar for nandalanranjith
0
238
Member Avatar for bharathi_n_r

Hi all, I am fed up of doing this week scheduler for my project...i am trying and trying but seems to go nowhere..I thought of asking u people for any ideas...(windows application) My project is online ticket booking and i have a admin screen where he can schedule movies for …

Member Avatar for bharathi_n_r
0
236
Member Avatar for bcm

I want to read Xmlfile and extract its contents to display on form in textbox using [B][COLOR="Red"]vb.net2003 [/COLOR][/B] How to use the XmlTextReader to read the contents of an XML document and extract the contents, if can be done.... :icon_cry:

Member Avatar for Ole Raptor
0
305
Member Avatar for Rehat

hi, I am doing a lab assignment for my C++ class and it wants us to use serveral pointer indirections for each variable. The program runs but then crashs and it seems to occur during the second iteration of a for loop in the arrayGet function. I'm not sure why, …

Member Avatar for Rehat
0
91
Member Avatar for guest11

hi all, Is it possible to run visual basic's .exe file or application from vb.net application If yes then can anybody tell me how n can tell me code for that. Actually i want to run vb application from vb.net if possible then please tell me as soon as possible …

Member Avatar for ericstenson
0
180
Member Avatar for AniWeb

hello all, I want to know that how I can determine that User has logged first time in my website, so that I can force him/her to change his/her password, which is assigned by the Administrator. I have tried to keep Session variable in the Global.asax file to maintain login …

Member Avatar for AniWeb
0
115
Member Avatar for hariharanin1977

Hi, I am new to C# and I would like to know is there any way to create User Mode Driver Framework using C#. thanks, Hari

Member Avatar for hariharanin1977
0
76
Member Avatar for flash121

Greetings, I'm quite new to C++ and i got a problem with my program. It seperates words in a string using the strtok() function. These words are then put into an array, which means the array can contain multiple same words. I'd like to copy different words from this array …

Member Avatar for Narue
0
219
Member Avatar for RigbyBaffers

I want to get a new Graphics card for my PC and although I know how to do the physical part of putting suff in I don't actually know how to go about looking for one and how you can judge how good one graphics card is compared to another …

Member Avatar for jbennet
0
76
Member Avatar for justapimp

I have this peace of code that I am working on and I would like to get the record count data returned by this querrey bellow. [code] SELECT COUNT( *) AS 'TotalGeofence' FROM GeofenceData WHERE (DeviceUID = @DeviceUID AND Time BETWEEN @StartTime AND @EndTime) [/code] I then used this C# …

Member Avatar for justapimp
0
119
Member Avatar for adaykin

Hello, I just downloaded the PPM Repositories module from [url]http://search.cpan.org/dist/PPM-Repositories-0.11/[/url] How do I include the repositories in my PPM? I read the documentation but it didn't make any sense to me. I have PPM 4.01.

Member Avatar for KevinADC
0
219
Member Avatar for saurabh.verma

How do i create a progress bar like in windows 98 it is colered and is on the startup screen here is the picture [IMG]http://i17.tinypic.com/6lja70n.png[/IMG] can anyone tell me how to make it please?

Member Avatar for SCBWV
0
89
Member Avatar for Fungus1487

Hello all, i have recently finished work on a clients database. they now wish for one field in the database to have 10% taken off for each record. can this be performed soley through an SQL statement on the MYSQL database.

Member Avatar for Fungus1487
0
95
Member Avatar for amith003

Hi all, I have created a DataGrid and i have included a template field of checkboxes(i.e' a column is created consisring of checkboxes) now i want to know how to get the data from the row in the datagrid where checkbox is selected and assign that data to any variable? …

Member Avatar for SheSaidImaPregy
0
152
Member Avatar for saurabh.verma

Hi, I have been recently programming a application in visual basic 2005 express edition. My program is like windows which has programs inside. So i have these buttons in my program that link to other programs. The only problem is that i wanna create a taskbar. I have put a …

Member Avatar for saurabh.verma
0
158
Member Avatar for osasm

Hi, I wrote a function in 'C' as follows. [CODE]void myfunc(int x,int y) { asm mov ah , 0x02 asm mov bh , 0x0 asm mov dh , y <=Error Here asm mov dl , x <=Error Here } [/CODE] It shows the error "Invalid use of Opcode and Operand". …

Member Avatar for Duoas
0
288
Member Avatar for adil7

Hi, In this , i dont know how to do nested colums. <display:table name="${form.results}" id="row" cellpadding="true"> <display:column property="firstName" value="${row.firstName}"/> <display:column property="lastName" value="${row.lastName}"/> | | |// list of columns | | <display:column> <display:table name="${row.cdList}" id="row" > <display:column> <display:table name="${row.CDSummary}" id="row" > <display:column property="cdAccountType" value="${row.cdAccountType}"/> <display:column property="cdType" value="${row.cdType}"/> </display:table> </display:column> </display:table> </display:column> …

0
67
Member Avatar for Dwasifar

First off, the standard disclaimer: I am pretty new at shell scripting, and my work at this point is mainly hacked-together ideas and pieces from other people's. Thank you in advance for your tolerance. :) I am using Ubuntu Linux 7.10 Gutsy, which has the bash shell. I wrote a …

Member Avatar for radoulov
0
377
Member Avatar for hashinclude

Hello everyone, i have the following code [CODE=cpp]#include <iostream> #include <conio.h> using namespace std; int main() { cout<<"\nPress Any Key To Continue "; getch(); return 0; }[/CODE] it compiles fine on my windows xp using microsoft visual c++ , and i can run the resultant executable file with no problems …

Member Avatar for iamthwee
0
162
Member Avatar for Spartan552

[QUOTE] ArrayList<ArrayList> bigList = new ArrayList<ArrayList>(); ArrayList liste = new ArrayList();[/QUOTE] [QUOTE]for(i=0 ; i<10 ; i++){ liste.add(0,i); bigList.add(0, liste); liste.clear( ); }[/QUOTE] What I want to get is something like [ [9] [8]...[0] ]. Instead of that I'm getting [ [ ] [ ]...[ ] ], an ArrayList of empty …

Member Avatar for Spartan552
0
115
Member Avatar for Spartan552

Hi, I want to use an ArrayList of long but [QUOTE]ArrayList<long>liste = new ArrayList<long>();[/QUOTE] doesnt work. Eclipse changes it to [QUOTE]ArrayList<long[]>liste = new ArrayList<long[]>();[/QUOTE]. What to do? I really need an arraylist of long values. Thanks.

Member Avatar for Spartan552
0
143
Member Avatar for eleonora

hey and happy new year! i cant understand whats the difference between x++ and ++x if anyone knows let me know :) thanks in advance !

Member Avatar for ShawnCplus
0
185
Member Avatar for lookof2day

Hi ! I'm trying to find the substring in a shell script as given: [code] #! /bin/bash HTML="<html><body>OK</body></html>" OK="OK" OFFSET=`expr index $HTML $OK` OK_LEN=`expr length $OK` var1=`expr "$OFFSET"` echo $var1 var2=`expr "$OK_LEN"` echo $var2 INPUT=`echo | awk '{ print substr("'"$HTML"'",var2,var1) }'` echo $INPUT [/code] But on running it does not …

Member Avatar for ghostdog74
0
134
Member Avatar for everlast

[code=cplusplus] #include <iostream> #include <iomanip> using namespace std; class Matrix { public: Matrix (int =0, int =0); ~Matrix (); Matrix (const Matrix&); void operator = (const Matrix&); Matrix operator + (const Matrix&); Matrix operator * (const Matrix&); Matrix operator - (const Matrix&); int* getMember(int =0, int =0) const; //returns pointer …

Member Avatar for everlast
0
145
Member Avatar for ssvetkoff

I am writting a program that needs to access files in MyDocuments folder of the user running the program. I am aware of GetUserName() but the program is being run as a service and so GetUserName() returns SYSTEM. Could anybody help me with how to get a list of all …

Member Avatar for hashinclude
0
66
Member Avatar for Dark_Knight

Hi. Below are two pieces of code. This first one works fine: [code] char str[] = "Hello World"; char *b; b = &(str[3]); *b = '3'; printf("%s\n", str); [/code] However this second one results in a segmentation fault. [code] char *str = "Hello World"; char *b; b = &(str[3]); *b …

Member Avatar for WolfPack
0
296
Member Avatar for peter_budo

Just getting into XML and other X-stuff so this may sound little silly as I'm thinking more ahead of I'm currently reading and able to do, but here it goes...:twisted: Take simple example of CD collection. Currently with use of XSL i'm able to display my XML document as table …

Member Avatar for peter_budo
0
81
Member Avatar for complete

I have a C++ program I am debugging in Visual Studio 2005 IDE. It uses a DLL. I have the source code for the DLL. Now, suppose I want to debug and step through the DLL. How do I attach this to my current project? Actually, I can already debug …

Member Avatar for Byaptia
0
125
Member Avatar for Venom Rush

Hi guys and gals Just curious to know if it's possible to select the 3 latest entries in a table. Would be an added bonus to my project. ;)

Member Avatar for Venom Rush
0
107
Member Avatar for RohitSahni

Hi all, Plz helpme out with this error. I am trying to Port my C++ compiler from Sun C++ compiler to GNU gcc 3.4.2 and i am getting below errors..Guys any idea how to solve this. [code] In file included from /sbcimp/run/pd/gcc/3.4.2-32bit/lib/gcc/sparc-sun-solaris2.8/3.4.2/include/c++/bits/stl_algobase.h:72, from /sbcimp/run/pd/gcc/3.4.2-32bit/lib/gcc/sparc-sun-solaris2.8/3.4.2/include/c++/bits/char_traits.h:46, from /sbcimp/run/pd/gcc/3.4.2-32bit/lib/gcc/sparc-sun-solaris2.8/3.4.2/include/c++/ios:46, from /sbcimp/run/pd/gcc/3.4.2-32bit/lib/gcc/sparc-sun-solaris2.8/3.4.2/include/c++/ostream:45, from /sbcimp/run/pd/gcc/3.4.2-32bit/lib/gcc/sparc-sun-solaris2.8/3.4.2/include/c++/iostream:45, …

Member Avatar for sngpt.iitr
0
142
Member Avatar for Venom Rush

Hi there What I'd like to do is store a paragraph in a column and pull roughly the first 200 characters of the paragraph and display them on a page as a snippet. Is this possible? If so could someone give me a link or code snippet on how to …

Member Avatar for Venom Rush
0
140
Member Avatar for binnie

I would like to ask for the looping statements and conditional statements syntax and some samples for me to easily understand... And also, How can I edit numbers to have its decimal points like float and double in other programming language. I'm really noobie with Linux so can someone please …

Member Avatar for binnie
0
133
Member Avatar for nu2cpp

I am using BCB6 so I hope this is the right forum. I am using asyncpro's TApdComPort component for serial communication. I need to send 12 bytes and receive 22. I can send the 12 bytes using putblock(..). But I can't figure out how to reeceive my data. Also, I …

Member Avatar for nu2cpp
0
541
Member Avatar for peeta

hello friends i want to clear screen after inputing data before it displays what ever the program intend to do. is there some function or special character to do that ? secondly i want to increase size of fonts where i type my program. i try to look around but …

Member Avatar for peeta
0
149
Member Avatar for nse

hey all, i have a project so i wana design a database using ER model but i need an idea fopr this database..i want a new one i mean not consumed idea and creative.

Member Avatar for aslam.wazir
0
99
Member Avatar for rpjanaka

hi all, i have a problem with pthread programming. function_1(){ . . rc = pthread_create(&thread, &attr, my_function, (void *)&my_data); . rc = pthread_create(&thread, &attr, my_function, (void *)&my_data); . } As the above “`function_1`” do, the “`my_function`” can be executed any number of time according to our need, but the problem …

Member Avatar for Belrog
0
105
Member Avatar for #include<DAN.h>

I hear alot of people saying not use: [code] system("pause"); system("cls"); system("title"); [/code] I think you get what I mean, so I'm trying to make functions that will replace all of these, and for my first installment I'm going to show you how to replace system("pause");. Here is what I …

Member Avatar for Duoas
0
616
Member Avatar for saini balvinder

Hello , need some help on following code: HH = DateTime.DateDiff("h", "01/01/2008 12:30:00", "01/01/2008 15:00:00") MM = DateTime.DateDiff("n", "01/01/2008 12:30:00", "01/01/2008 15:00:00") SS = DateTime.DateDiff("s", "01/01/2008 12:30:00", "01/01/2008 15:00:00") MsgBox HH & ":" & MM Mod 60 & ":" & SS Mod 60 the result shows : 3:30:0 im expecting …

Member Avatar for saini balvinder
0
367
Member Avatar for mintran

Hi all of my friends, I have some burning DVD files problems, hope someone can give me some hints and help me out. Thank you so much! I have never burned a DVD files before, I don't know if that is my own problems or the software problems, I just …

Member Avatar for Scorpio123
0
510

The End.