199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
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) … | |
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 … | |
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 | |
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 … | |
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] … | |
// 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 … | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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: | |
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, … | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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# … | |
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. | |
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? | |
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. | |
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? … | |
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 … | |
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". … | |
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> … | |
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 … | |
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 … ![]() | |
[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 … | |
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. | |
hey and happy new year! i cant understand whats the difference between x++ and ++x if anyone knows let me know :) thanks in advance ! | |
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 … | |
[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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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. ;) | |
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, … | |
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 … | |
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 … | |
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 … | |
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 … | |
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. | |
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 … | |
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 … | |
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 … | |
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 … |
The End.