132,726 Archived Topics
Remove Filter ![]() | |
I have a Listbox with different numbers that can be added at any time through a TEdit. How can I take each item from the listbox and just simply add them to get a Total Amount. For example.. Say My Listbox looks like this: 14.00 2.00 7.00 13.00 how do … Software Development pascal | |
I have an email log that needs some parsing. Can anyone help me to use sed or awk to parse this log and return only the domain names, listing them only once and ignoring case? Dec 19 14:59:09 host53a pop3d: LOGIN: DEBUG: ip=[::ffff:192.168.1.1], command=USER Dec 19 14:59:09 host53a pop3d: LOGIN: … Software Development email shell-scripting | |
hi....well this is my first post in this community...i hope people here will help me in my doubts... I am an intermediate level programmer of c++... i have a doubt regarding the permutations of a given string and permutations of first N natural numbers... i have written a program for … | |
Hello, I am trying to write a script for someone at my university. The only experience I've had with perl really is through webpages, which coincidentally this is, albeit a bit different. Normally the webpage is hosted online and I have to use LWP::* or WWW::* to access it, but … Software Development perl | |
i need a program that asks for one number and output like this: 1234 123 12 1 12 123 1234 [COLOR="Red"][B][U]NOTE:[/U][/B][/COLOR]: in the example above the input given is number 4. requirement doing this in using nest FOR loops. i started coding it bu i dont get the algorithm or … | |
I am reading a text file from an input file. The problem is that when I cout the text to the screen not all of the original text file is showing. The text file is large, but I was wondering if there was any way I could possibly display all … Software Development c c# c++ file-system | |
Hi all, I am zawpai. I would like to create the timer function in C to do some checking. Could you please show me how to write the code about it. Thanks, zawpai Software Development c | |
Are all device drivers written in assembly language? Would an assembly language programmer be able to hi-jack aany printers functions so that he might get native control over print head( x,y loc) upon page and ink squirt control? Is assembly language programming a lucrative area of coding work? Do assembly … Software Development assembly | |
Well hello.. I am making an CSV (comma seporated values) loader, in which the first row are strings and all the other are integers. From what I've got when I load each indivisual string into an individual char array first few char arrays when printed are twice as big as … Software Development c | |
Hey guys, I am writing a desktop app to interact with XML. It reads the XML fine using the DocumentBuilderFactory, but when I try to save any changed to the XML file (e.g. setNodeValue()) the changes do not save. As an example here is some code I tried, just to … | |
Hi All, I am interested in making http requests and parse the response back from that request using a Borland C++ 5.0 Client application. If anyone has a sample code or some links that can help me write this method, that would be great. I did some google and could … | |
So I'm supposed to copy the word "computer" or "computers" from the text of one file and past the word each time to the new file. It compiles but it doesnt run right. Any input would be great. [CODE]#include <iostream> #include <fstream> #include <cstring> using namespace std; int main() { … Software Development c++ file-system | |
Could someone recommend a C++ compiler to write programs on a linux platform. I am just looking to write some programs in the shell not really looking to do any X-windows programming right now. Software Development c++ | |
Hello all, i have a little problem printing the upper symmetry of the multiplication as shown in the attachment (in C). can anyone help? Software Development c | |
[QUOTE]aptr = malloc(nrows * ncols * sizeof(int)); rowptr = malloc(nrows * sizeof(int *));[/QUOTE] What is the different with have no * inside sizeof(), eg sizeof(int), vs sizeof(int *)? | |
Hi there: I need to convert a variable of single character to corresponding ASCII number. Can some body tell me how to do this? I tried int(), static_cast(), atoi(), not working. Thx in advance! Software Development c++ | |
plz i wanna sol for this q with describ anyone can help me ??? write C++ program cosist of two structures - The first called "Address" consist of three elements (city, state, and zip code). - The second called "Employee" consist of seven elements ( Employee name, number, Address, Birthdate, … Software Development c++ | |
Hi. I´m having some trouble with my search code. I'm trying to make it search in either my varenummer field or varenavn field. My method to do so looks like this: [code] public KasseInterface søgVare( String varenummer, String varenavn ) { System.out.println( "Søger efter vare med varenummer: " + varenummer); … Software Development java | |
Can anyone please help me with my sorting Array...my teacher asked me to do a code for sorting array using html and servlet. I don't know how to start this program since I am still new in java...please help me...if you can provide example code then that would me appreciated... Software Development java | |
Firstly, I got this class: [code=cplusplus] class A{ public: void show() { std::cout << "Hello World"; } } a; [/code] I am trying to get the address of [B]show()[/B] function. [code=cplusplus] int main() { void (*ptr)(); ptr = &a.show; *ptr(); return 0; } [/code] And, it doesn't seem to work … Software Development c++ | |
I need to use C# methods to set the values of some DataColumns in a table. DataColumn provides an Expression property, but that only allows a subset of SQL style calculations on the dataset. What I need to do is call a C# method to perform calculations too complex for … | |
Hi I am a newbie in C++. I need some help here for my homework. I tried all methods that I know but I just can't get it. =( I need to design a staff information enquiry program which can display information of staff sequentially in staff database with the … Software Development c++ database-design | |
![]() | Hi Guys. I am relatively new to C++ so i may seem a bit inexperienced, but please bear with me. I am doing a little c++ project to help increase my experience and i have come to a stand still. (I have defined loopcount earlier on in the program) [code] … Software Development c++ |
I work in C,C++ Windows platform. I am to write code to format a pendrive. I searched and found DeviceIOControl() that seemed to fulfill my purpose. But I cannot proceed any further. Plz help me in this regard. thanx Shayantani Software Development c++ | |
char stmt_buf[1024], buf[(1024*2)+1]; stmt_buf ="SELECT id, title FROM post LIMIT 5;"; I get an error: connect2.c: In function ‘main’: connect2.c:217: error: incompatible types in assignment Software Development c | |
Hi all, I'm going to learn a new subject on C++. Working with Windows API. Since I work with Java there is no API used, but I feel it is better to work a little with APIs. Here is my attempt for that. I want to read the system time … Software Development api c++ windows-api | |
I am running linux. This problem maybe implemented many times over. I am not hitting right google search term. I need a way to send email from my c program, if that program fails to excute some other part of the code. Any gurus like to shed some light on … Software Development c | |
I'm kinda sick of dos windows programming, this stuff i've added is sorta what i'm at, still learning obviously if you take a glance at it, just wondering what I should try and write now, suggestions appreciated! Software Development c++ | |
[B][/B] I face the problem when i key in 5 5+ the result is 10. But i key in 5 6+ he give the result 12. Some equation can give me true result some give me false result. Anyone can help me toubleshoot? The following are my program: [CODE][LIST=1] [*]#include … Software Development c++ | |
Can you guys help me with this? I have a site protected by siteminder..... Thus when going to the internal URL, it redirects us to a siteminder username/apssword page, then redirects us back to the original site. How can i login and pull the page via lwp? Here is my … Software Development http-protocol perl | |
I am having trouble getting ReadFile to work for me. I am runnng an AMD with XP SP1. I compile with a .cpp extention normally using Borland Bcc32 but I have also compiled using cl.exe. I declare LPVOID lpBuffer and have tried assigning memory using malloc. I also tried GlobalAlloc. … Software Development c++ | |
Hi all, I have a function that calculated two int values. I call the function only by using a string and calculated those two int values. I want to return that two int values from the function when I call it with a string. Look at the following function, [CODE] … Software Development c++ | |
hello there, it says that i have 2 errors in my code. What have i done wrong? (doesnt show where); something that calculates the area and the perimeter. [CODE] #include <iostream.h> typedef unsigned short int pint; int main() { pint width; pint length; pint area=(width*length); pint perim=( (width+width) + ( … Software Development c++ | |
HI I would likt to create input files for testing, format is like this INPUT Format DISP NUM BYTES Desc 0 4 CODE 4 10 EMP NO 14 3 AGE 17 1 SEX which will be used for creating flat files ( data in excel file). OUTPUT file should be … Software Development shell-scripting unix | |
Hi all, I've create a window using CreateWindowEx windows API and do some work on it. Thats fine. But for the safer operation at the end of all the processing I want to close/destroy the window. I've try this, [CODE] BOOL clsWin = DestroyWindow(m_hwnd_RTFBox); if(clsWin != 0) { printf("SS"); } … Software Development api c++ windows-api | |
I coded a script, Currently I can add and delete items to the database but I cannot edit the data. Here's my 3 paged script : Christmasswishlist.java import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.sql.*; /** * Servlet implementation class for Servlet: ChristmasWishlist * */ public class ChristmasWishlist … Software Development java | |
modularize program code by using functions. You will produce two solutions: a) using global access functions, and b) using classes and member functions. a) Using Access Functions Write five Invoice access functions: setInvoice(), computeAmount(), getAmount(), printData() and a global client function computeAmount(). Function setInvoice() has five parameters of types Invoice, … Software Development c++ data-structure | |
your homework." What does this mean. Software Development c++ | |
Hey guys, I'm following a tutorial on Python and I came across this in one of the examples. [CODE]import time today = time.localtime(time.time()) theDate = time.strftime("%A %B %d", today) print today print theDate [/CODE] Result:[CODE](2007, 12, 20, 9, 48, 15, 3, 354, 1) Thursday December 20[/CODE] can someone explain to … Software Development python | |
Hello, I'm planning to do a project which involoves a lot of GUI. Does anybody know whether there is any IDE available that supports a code wizard feature for C++? For eg in VB, we design the menus, frames, text labels, etc. and when we click on 'generate code', the … | |
Hello, I am interested in learning Visual Basic programming language and am a beginner. Can anyone introduce any tutorial resources or e-book for a beginner in Visual Basic. Thank you very much :) Software Development visual-basic | |
Hi to all , I have a problem i can't see my message box. Here is the TEST2.cpp [code=c++] #include <windows.h> #include <winuser.h> #include "TEST2.h" BOOL EndDialog(HWND hDlg,INT_PTR nResult); /* Declare Windows procedure */ LRESULT CALLBACK WindowProcedure (HWND, UINT, WPARAM, LPARAM); BOOL CALLBACK ToolDlgProc(HWND hwnd, UINT Message, WPARAM wParam, LPARAM … Software Development c++ data-structure | |
modularize program code by using functions. You will produce two solutions: a) using global access functions, and b) using classes and member functions. a) Using Access Functions Write five Invoice access functions: setInvoice(), computeAmount(), getAmount(), printData() and a global client function computeAmount(). Function setInvoice() has five parameters of types Invoice, … Software Development c++ data-structure | |
[code=java] import java.io.*; import java.util.Scanner; class heh {public static void main(String[]args)throws Exception { BufferedReader input=new BufferedReader(new InputStreamReader(System.in)); Scanner me =new Scanner(System.in); int a[]= new int[20]; boolean find = false; int b; int c; System.out.println("Enter 20 numbers:"); String read=input.readLine(); String token[]=read.split(" "); for (b=0; b<20;b++) {a[b]=Integer.parseInt(token[b]);} System.out.println("Enter No. u want 2 … Software Development java | |
Hello, i have a book that is teaching me the basics of c++ i understand most of it and its really fun, but i need some help creating my own applacation. i want to create a class caled bandit and have a sub class scout so that under bandits i … Software Development c++ | |
Hi, I am still an novice Perl programmer, but I am a programmer. Here's my dilema: I need to be able to take someone else's website and read in the site as HTML. My program will then parse out every linkable item for other uses. The second part I should … | |
Hey everyone. I have a program that will load project data according to the project number selected. One of the fields associated with the project number is the project manager. I have another table called Contact which is the contact information for the project mangers. I have a link setup … Software Development vb.net ![]() | |
Hi friends, I am sita I want to know more about storage class in C language.I think you can help me for finding out the answers. First of all Can you please tell about Local and Global variables? Or What are Local and Global variables? Can you please show some … | |
Can some one please guide me on creating a JSpinner that only supplies value on MouseRelease Events. As dont want to send the intended application updates as spinners contents while rapidly changing. (there needs to be a timeSinceRelease accounted for.) but Its what i need to write like the particular … Software Development gui java java-swing |
The End.