132,729 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for emilio

hello i have a warning error : passing arg1 of srtcmp makes pointer from integer without cast. here is a part of the code : int calc ( char s[] ) { int size = strlen(s) ; int flag = 0 ; char op ; char add[] = "+" ; …

Software Development c
Member Avatar for Ancient Dragon
0
115
Member Avatar for enuff4life

i get command-line arguments argv[3], but i need to pass it to function... the sample input would be a.out 7 100 lychrel.dat [CODE=C]int main(int argc, char*argv[]) { int *array, randomNb, arraySize; int i, judge, counter = 0, iteration = 0; int total; if (argc !=4) { fprintf (stderr, "This program …

Software Development c
Member Avatar for Ancient Dragon
0
79
Member Avatar for Naveen

Hi All, Could any1 please tell me where i can find a tutorial for a port scanner in VB? Regards, Naveen.

Software Development visual-basic
Member Avatar for vnskeke
0
801
Member Avatar for enuff4life

when I call this function in main, I need to convert the 'longlong num' into string and RETURN the string... so in main [code=c] main() { char string[20]; ........ string = LongLongToString(random); } char LongLongToString(long long num) { int counter = 0, i; char string[20]; while(num !=0) { num = …

Software Development c
Member Avatar for Ancient Dragon
0
137
Member Avatar for banala_arjun
Member Avatar for mariocatch
0
113
Member Avatar for Biro

Hey, I am having problems with the double waistsize function, I am not sure where I have gone wrong..I am not getting the outputs I should be. waistsize should be user_weight divided by 5.7...adding 1/10 of an inch for each 2 years over age 28, so when it is 30 …

Software Development c++
Member Avatar for danzona
0
132
Member Avatar for boyz

do nebody hv ne idea how to find bit pattern of an audio file ???

Software Development audio java
Member Avatar for Phaelax
0
93
Member Avatar for Ali.M.Habib

I draw using this code which I find it easy when I save just give ayellow background bmp image what's the problem if any one have an idea how to save please tell me using System.Drawing.Drawing2D; using System; using System.Drawing; using System.Drawing.Imaging; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Data; …

Software Development
Member Avatar for waterfall
0
162
Member Avatar for boyz

1.main() 2.{ 3. int a=0; 4. while(...) 5. { 6. int a=9; 7. } 8.} now friendz question is question is what make a of 3 global and a of line 6 local what is happend at the time of local decla.. and at the time of global decl... would …

Software Development c
Member Avatar for Salem
0
97
Member Avatar for freakybeavis

I am trying to write something which takes user input (int) and doesn't cause an error if user inputs something other than an out of range int or an alpha. What I have actually works fine on my computer with XP but it causes errors on all 3 of my …

Software Development c++
Member Avatar for freakybeavis
0
99
Member Avatar for Jishnu

Herbert Schildt in The Complete Reference Java 2 says,"Because it is static, it must access the members of its enclosing class through an object. That is, it cannot refer to members of its enclosing class directly. Because of this restriction, static nested classes are seldom used." Can we use static …

Software Development java
Member Avatar for lookof2day
0
332
Member Avatar for jaepi

Hello there, any idea what function in the standard library corresponds to these win32 apis (GetPrivateProfileInt and GetPrivateProfileString). Thanks. :)

Software Development api c++
Member Avatar for vijayan121
0
166
Member Avatar for ssriram

Hi all, I need to write a code in C to send AT Commands that to be appear in Hyper Terminal? I need some sample code in C. Plz help. With Thanks Sriram

Software Development c
Member Avatar for ssriram
0
49
Member Avatar for mafarjeh

hi for all pl, if any can do the folowing: " Write a cross-reference program which constructs a BST with all words included from a text file and records the line numbers on which these words were used. These line numbers should be stored on linked lists associated with the …

Software Development c++ data-structure linked-list
Member Avatar for ithelp
0
135
Member Avatar for wijitha

hi.. I'm new to ACE. I want to create a server which has multiple ports and clients should be able to connect with them simultaneously(one port is for only one client). There should be management port which can manage the server (adding new ports, changing properties of currently working ports(user …

Software Development c++ client-server
Member Avatar for ithelp
0
87
Member Avatar for Annex

Hi all, I have a simple question. But tell me please. How can I open another form which is being the same project by pressing the button?

Software Development vb.net
Member Avatar for Jx_Man
0
147
Member Avatar for Grub

Hi, I am trying to display my floating point values as money in a machine. Now When I display the value 0.60, the zero is omitted from the end and as such is displayed as 0.6. I need to display it as 0.60. Many thanks in advance.

Software Development java
Member Avatar for Grub
0
87
Member Avatar for ithelp

What is the easiest way to create a libray from list of .o s that is libtest.a from a.o,b.o ...z.o I am looking for a command line option.

Software Development c++
Member Avatar for ithelp
0
84
Member Avatar for rugae

I need some advice on the way I'm should be doing something like this... My main GUI is composed of a JTable and query box for custom SQL user queries. I execute a SQL query, from the ResultSet, map the ResultSet an ArrayList<Object>, parse it to a tableModel class extends …

Software Development gui java
Member Avatar for rugae
0
184
Member Avatar for ORA-MAN

[COLOR="Green"]Hello ppl! Hoping all of you is great! Ok, this is this first time to deal with VS2005 C++, and I need to help me that How could connect C++ with MySQL ?? please it is really important to me! any example will be helpful. dankie in Advance.[/COLOR]

Software Development c++ mysql
Member Avatar for ORA-MAN
0
90
Member Avatar for Jicky

Can we draw graphics on screen by directly pappping the graphics memory using pointers if yes how to find the starting address , word length ,resolusion etc?

Software Development c
Member Avatar for Salem
0
107
Member Avatar for crazyfrog

HI i need help......... i have one project in vb 4 ,how to retrive source code with exe file..pls help me.

Software Development visual-basic
Member Avatar for venkatramasamy
0
73
Member Avatar for rajeshnrh74

My VB6 has a Form with a Textbox. Actually my work behind reading Barcode thru Barcode Reader into the TextBox, The Maxlength of the TextBox is 12. If I Input some characters manually into the TextBox Say "abc" (without quotes) now the cursor is in 4th place from there it …

Software Development visual-basic
Member Avatar for venkatramasamy
0
264
Member Avatar for boyz

Can we add two long number using linked list. If Yes then please write a simple code......

Software Development c linked-list
Member Avatar for WaltP
0
102
Member Avatar for boyz

is there any method to print a character or string without using ; ?

Software Development c
Member Avatar for Jishnu
0
79
Member Avatar for dc_24l

hi guys need help on how to count a string in a text box for example my txtbox has this value 10.2.200.29 how can i count all the text box's content?

Software Development visual-basic
Member Avatar for dc_24l
0
85
Member Avatar for Gopinath_AC

hai everybody i Dont know how to validate emailid. please anybody help for this with example codings

Software Development vb.net
Member Avatar for bharatsaboo
0
58
Member Avatar for marvz

[B] plz give me more sample of formula convertion in c++ ex. x=ab3 sqerut of c a <<<<like dis......how to convert in C++ plzz give me more exmple.... im a first yr.....I.T student and i want 2 learn more......more power 2 dis site[/B][ICODE][TEX][/TEX][/ICODE]

Software Development c++
Member Avatar for marvz
0
157
Member Avatar for mark0420

who can make me a complete list of codes like this scanf()- input a data printf()- print a stirng or data blah blah plz i want a complete

Software Development c++
Member Avatar for mark0420
0
109
Member Avatar for helixkod

i am seeing this error: error C2106: '=' : left operand must be l-value here is the code [CODE]bool swap; int numTemp; char charTemp[30]; int count; do { swap = false; for (count = 0; count < (size -1); count++) { if (array[count] > array[count + 1]) { numTemp = …

Software Development c++
Member Avatar for Duoas
0
92
Member Avatar for helixkod

Heres my current code: [CODE] const int SIZE = 100; //constant 100 const int COL = 30; //number of columns int testScores[SIZE]; //test score array char students[SIZE][COL]; //student names array int numTests; //the number of tests char *namePtr; //char pointer int *numPtr; //number pointer int count; //counter numPtr = testScores; …

Software Development c++
Member Avatar for Duoas
0
113
Member Avatar for jrice528

OK, I finally figured out command line arguments... my program is called prime, in the console i need to type "prime 7" and the program will tell me if its a prime or not. heres my code: [code]#include <cstdlib> #include <iostream> #include <iomanip> #include <stdlib.h> using namespace std; int main(int …

Software Development c++
Member Avatar for Duoas
0
115
Member Avatar for boyz

This is different question...can anyone tell...we shld get some text as output hope u can get the question........... dont use any aruments or anything in or on main() we shld juzz keep main() function main() { } dont use C++ or any other..use only C... and this has solution.....frnds help …

Software Development c
Member Avatar for doublex
0
92
Member Avatar for johnnyjohn20

Hello, i am trying to count from 0 - 7 and storing the values in an array. I have been trying to do this solidly for 2 weeks :'( my attempt: ************************************** int a[20]; int x; for ( x=0 ; x<=7 ; x++ ) { a[1] = x; cout << …

Software Development c++
Member Avatar for Salem
0
101
Member Avatar for boyz

i just want to know if subscript is greater than the size of array then either this value is stored outside of the memory located to array or sometimes do not saved and poduces error can you tell how and by whom this is decided what action to be taken

Software Development c
Member Avatar for biswajit.bhuyan
0
64
Member Avatar for boyz

i develop a database program in c language there the four main contents which are access by using switch statement the each content further has other option which also access by switch but the problem isi n these subcontents last option which is exit. on enter the choice number it …

Software Development c
Member Avatar for zandiago
0
91
Member Avatar for sanky27

I hav to pass an array frm jsp page to servlet.Array contains the name of the field which r checked & in order they r checked can anyone suggest me how to do tht it's urgent

Software Development java
Member Avatar for zandiago
0
45
Member Avatar for rxylion

hello guys could you help me with this problem? well you just need to use an array. Write a C program that accepts name,address,age,midterm,&final. then compute for the final rating. Use an array that allows the user to input as many as they want. Your code must display all inputs …

Software Development c
Member Avatar for Ancient Dragon
0
124
Member Avatar for geckoo

I was wondwring can somebody help me with my problem: how can i run my .exe, created usnig bolrand c++ on another computer wich hasn't got C++ installed maybe its a silly qustion, but i just don't konw it. ...ooops I forgot the main reason for my qustion my program …

Software Development c c# c++
Member Avatar for Sturm
0
141
Member Avatar for amnajvd

Hi I Am Working On This Project I Which I Need To Send Jpeg Files Over The Lan Ports To Some Device. Can Somebody Please Tell How Do I Program My Lan Ports In C++ Orc Maybe??/ Thanx Amna

Software Development c c# c++
Member Avatar for Ancient Dragon
0
327
Member Avatar for jrice528

What exactly does this mean?? Your program must determine the user-specified lower bound and upper bound by using command-line arguments. You will need to use the strtoul() function (from the cstdlib header) to convert command-line arguments to int values.

Software Development c++
Member Avatar for vmanes
0
116
Member Avatar for heav_yduty

Hi! I try to make a simple internet browser. I use document SDI and base class CHtmlView. And the problem is that I don't know how to make an address bar like in IE. Maybe somebody can help me? Sorry for my English (I mean "a question about VC++6") , …

Software Development c++
Member Avatar for heav_yduty
0
73
Member Avatar for powellinthesout

I'm very new to C++ and want to start some beginner programs; but I also want a partner, to learn together. Post here :) ~powell

Software Development c++
Member Avatar for Lerner
0
76
Member Avatar for joceyn226

HELP.. below is part of my code which i have trouble with it why when i choose 5 to exit.. it does not exit..but it will ask me to press any key to continue then when i press...it cum back to the main menu again.. thx for helping...really appreciate it …

Software Development c++
Member Avatar for Ancient Dragon
0
98
Member Avatar for chetah

Requirements 1) read from output file eg: 1222222 + 2333333 3444444 - 9999999 6666555 * 7 0 2) For addition and sutraction, Number1 and Number2 should be large integers and must be stored in a link list. eg. output = 1222222 + 2333333 = 454444444(answer) 3) For multiplication, Number1 should …

Software Development java
Member Avatar for Jishnu
0
82
Member Avatar for amitshukla

hi, I am working on a project and regarding that i want to know how can i send a file to a computer on the LAN using C / C++ program PLEASE HELP ME OUT

Software Development c++
Member Avatar for Salem
0
139
Member Avatar for davemcgrath

hello, I have been meessing around with a simple drawing tool. It is an example out of begining Java 2. As an extra I was trying to add a draw triangle but got a little bit stumped. I can get the button to draw a static triangle. One size one …

Software Development java
Member Avatar for Ezzaral
0
82
Member Avatar for HeroOfTime

Hey Everyone! Thanks for your help on my previous endevors. But, I've been working on this program for..... weeks, maybe months, and it's slowly evolved from different versions. This version uses OOP heavily, and it almost works. Okay, if you are not familiar with the '8 queens' problem, the objective …

Software Development java oop
Member Avatar for HeroOfTime
0
174
Member Avatar for samaru

Hey guys. I was thinking about writing a C++ tutorial. What do you think are the hardest topics to cover in C++? I know a lot of people have a hard time with pointers, but I was wondering what you guys think.

Software Development c c# c++
Member Avatar for Salem
0
401
Member Avatar for vegaseat

Things are getting quiet around the shop, seems like all the coding is done in foreign lands. Any way, let's get a thread started, a multilingual coding spree showing how to display "Hello World! (computer language used)". The code has to be a full program! Make sure you have the …

Software Development display python ruby
Member Avatar for sgssergio
0
1K

The End.