132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Ancient Dragon

I'm trying to write a simple Windows Forms program ( CLI/C++) . In the Form1 class I declared a private int, but the forms designer view hates it. Produces this error: >C++ CodeDOM parser error: Line: 195, Column: 15 --- Unknown type 'int'. ... The program compioles with 0 errors …

Software Development c++ visual-studio
Member Avatar for DavidB
0
362
Member Avatar for ausops

Lets say we have an 1d array called array. Now I know array.length gives me how many primitive types or objects are in a 1d array but what does it do for a 2d array with rows with different rows? {1, 2, 3, 4} array.length would be 4 but if …

Software Development java
Member Avatar for JamesCherrill
0
2K
Member Avatar for mrexp21

Please help me check c++ flowchart and pseudocode The source code files can be downloaded from here :- http://www.4shared.com/rar/jw-wLOJZ/Project.html

Software Development c++
Member Avatar for Schol-R-LEA
0
233
Member Avatar for OrangeTree

Hi :). I don't found good examples for function sscanf(). Can you help me please with this situation? #include <cstdio> #include <iostream> using namepsace std; int main(int argc, char const *argv[]) { string way = "main/articles/animals/giraffe"; char arr[256]; char arr2[256]; sscanf(way.c_str(), "%[^'/']/", arr); cout << arr << endl; return 0; …

Software Development c++
Member Avatar for OrangeTree
0
245
Member Avatar for SandraD

Hello, my name is Sandra. I have been bothering myself for few days with this issue. So I'm trying to create a code that will read from text file named "files.txt" and paste the 2nd line from that text file to somewhere else, like an opened window. void ReadFiles () …

Software Development c++
Member Avatar for WaltP
0
113
Member Avatar for ISAYA VAIMBA

Hellow friends, please help me to create a program that will disolay only a postive prime number

Software Development visual-basic
Member Avatar for Jx_Man
0
67
Member Avatar for Ouss

Write a program that has a function multiple that determines a pair of integers whether the second integer is a multiple of the first.The function should take two integer arguments and return 1(true) if the second is a multiple of the first, and 0(false) otherwise. Use this function in a …

Software Development c++
Member Avatar for Sendy Hipo
0
306
Member Avatar for Anark10n

#include <stdio.h> #include <mysql.h> #include <string.h> int main(int argc, char **argv) { MYSQL *conn; MYSQL_RES *result; MYSQL_ROW row; int num_fields; int i; char user_query[100]; char word[10]; printf("Enter word: "); scanf("%s", word); sprintf(user_query, "select * from english where word = %s", word); printf("%s\n", user_query); conn = mysql_init(NULL); mysql_real_connect(conn, "localhost", "root", "123", …

Software Development c mysql ubuntu
Member Avatar for Anark10n
0
151
Member Avatar for ganges

hi friends, suggest me a good book and link to get a good practice in java

Software Development java
Member Avatar for jackbauer24
0
109
Member Avatar for sammoto

So it's my first time trying to do a loop and I've come across something that I'm not experienced enough to explain... My program compiles fine, but after I enter my third number (variable "a", see code below) it just skips a line and does nothing. It just lets me …

Software Development java
Member Avatar for sammoto
0
241
Member Avatar for anisha.silva

HI, I have a spec for a golf tournament report. in it it says that to generate a report for less than 200 players the processing time of the report should be within 15 minutes. how can i test this in junt the uril for the SRS is below (section …

Software Development java pdf
Member Avatar for anisha.silva
0
65
Member Avatar for anisha.silva

Hi Does nayone know how to test a test suite in cmd line? (in java) thanks

Software Development java
Member Avatar for anisha.silva
0
88
Member Avatar for iamthesgt

I am using Awk inside a bash shell script to search header files for c++ functions so I can add these functions to another file. All of the functions I need will have form: type getName() or type setName(type value) Right now I get all the functions listed in between …

Software Development c++ regex shell-scripting
Member Avatar for iamthesgt
0
454
Member Avatar for TwijoO

hi, eventually this program should be able to automatically upload an image to a youtube page. (origionally the idea was to add a gamertag alongside the channel name so people could see current gamerscore etc...) I have coded a lot of it and one part which i thought to be …

Member Avatar for TwijoO
0
191
Member Avatar for bibiki

I believe the title of my thread explains what I am trying to do... I have a .class file, I need to look at the code has generated the .class. is this possible, and if yes, can you tell me how?

Software Development java
Member Avatar for stultuske
0
231
Member Avatar for riahc3

Hey How do I correctly validate that a email is in the correct format? I tried using the Apache Commons Validator library but, since Im using a web service, it seems not to want to fix it up and use it. I comply the code, make the aar, put it …

Software Development apache email java
Member Avatar for riahc3
0
178
Member Avatar for Cross213

I have an array of objects but when i traverse throught it to display its contents, it gives an error, but only if it is not full. Any suggestions? Below is the code snippet: for (int k = 0; k < array.length; k++) { msg += String.format(array[k].toString()); } JOptionPane.showMessageDialog(null, msg);

Software Development java
Member Avatar for Cross213
0
306
Member Avatar for 330xi

Hi! I want to add a picture to my opened word file. But not from file. I have some picture on a DC in my program and want it directly to Word document. Does anybode know how?

Software Development c++
Member Avatar for 330xi
0
170
Member Avatar for Aparna9019

I need to add dynamic timestamp with the attachment file test.dat as (test_currentDateTime.dat) sample code which I need to modify: <node name="testEmail" type="emailoutput" subject="this is a test mail with an attachment" xsl="&XSLPATH;test.xsl" outputType="text/plain" > <attachment type="text/plain" name="test.dat"/> </node> How can this be done in the attachment tag that is inside …

Software Development xml
Member Avatar for Mike Askew
0
1K
Member Avatar for cooh

http://pastebin.com/esxAR3wY This is my source code here...It is simply too big and ugly to fit in here, so I used this site.. If anyone can paste the code into his compiler and help me I will be grateful. Everything works except for the "addEntry" function (and I am guessing "resizeArrayCopy" …

Software Development c++
Member Avatar for cooh
0
136
Member Avatar for sid78669

I am trying to find the point of intersection of a circle and a line through its center. I want to put an arrow on the point actually, to make a directed graph. After some calculations, I found that the math that would go in is, ![formula](/attachments/large/1/formula.JPG "formula") The figure …

Software Development java
Member Avatar for JamesCherrill
0
2K
Member Avatar for sara5454

svp que fait ce programme ? merci d'avance 1.load A 2.ADD B 3.CMP 20 4.JB etq1 5.load A 6.SUB 1 7.JMP etq2 8.etq1 load A 9.Add 5 10.etq2 STORE A

Software Development c++
Member Avatar for sara5454
0
162
Member Avatar for celop

hello..i'm really appreciate of what both of u did to help me..but this is my real problem. i'm trying to build fca tool and until today i only can browse the data, load the data n show it on space. i try to build a context table based on the …

Software Development
Member Avatar for celop
0
91
Member Avatar for silvercats
Member Avatar for silvercats

more registers or something? I know about the advantages and disadvantages of 32 and 64bit bit what is the big difference between processors?

Software Development assembly
Member Avatar for silvercats
0
189
Member Avatar for silvercats

Under what architectures do assembly programs run? I mean,what processors can run the same assembly program? program written for p4 processor,on a core 2 duo ,core i3 .and core i 3 on a p4,p2 etc...... program written for an Intel processor on a AMD processor..... and i7 and a core …

Software Development assembly
Member Avatar for silvercats
0
222
Member Avatar for newbie26

hi. can anyone help me on how to create a spider web graph in vb6. is it possible? my client wants a spider web graph not the usual bar/line/pie chart. thanks in advance.

Software Development visual-basic
Member Avatar for newbie26
0
117
Member Avatar for C0ding

Hello everyone, I've been trying to generate a way to catch or suppress errors in my web browser control. actually what i really need in my browser is that if i run my project and the page cannot be display, to generate an error handler so instead of showing "The …

Software Development visual-basic web-browser
Member Avatar for C0ding
0
280
Member Avatar for sara5454

hi everyone i create a simple program on dev++ but always a message error exist ps: im a debutante :/ plz help ! #include<stdio.h> #include <iostream> int main () {int a,b; __asm__ __volatile__ ("load a \n\t" "cmp b \n\t" "jb etq1 \n\t" "jmp etq2 \n\t" "etq1 load b \n\t" "etq2 …

Software Development c++
Member Avatar for mike_2000_17
0
548
Member Avatar for venkat arun

I am a recent immigrant from c++ to Java. I have this problem: I have an array of objects (not yet initialized using the new operator), that I need to pass to a member function of another class for storage. In c++ I would have made a pointer to the …

Software Development java storage
Member Avatar for sbp94
0
165
Member Avatar for silent.saqi

using System; using System.Configuration; using System.Web; using System.IO; using System.Data; using System.Data.SqlClient; public class ShowImage : IHttpHandler { public void ProcessRequest(HttpContext context) { Int32 empno; if (context.Request.QueryString["id"] != null) empno = Convert.ToInt32(context.Request.QueryString["id"]); else throw new ArgumentException("No parameter specified"); context.Response.ContentType = "image/jpeg"; Stream strm = ShowEmpImage(empno); byte[] buffer = new byte[4096]; …

Software Development
Member Avatar for skatamatic
0
157
Member Avatar for rossco89

I have read plenty articles on Bool methods that have problems returning a value and i have been having the same problem except I cant see anyway around mine. public bool GetAdministrators(string userName, string password) { SqlConnection conn = new SqlConnection("Data Source=(local); database=ManagementNAV; Integrated Security=True"); SqlCommand cmd = new SqlCommand("GetAdministrators", …

Software Development open-source
Member Avatar for skatamatic
0
208
Member Avatar for efth

I'm very new to all of this, here's the code. f="/home/name/Desktop/text.txt" fil = open (f,"r") data = fil.read() i=int(data) fil.close() import os os.remove(f) i=i+1 inp=file(f,'w') inp.write(i) inp.close() I'm pretty much trying to make the value in the text file increase by one each time the script is run. I realize …

Software Development python
Member Avatar for TrustyTony
0
171
Member Avatar for rohit61288

Hello everyone I am trying to create a MS word file using c programming can anyone tell me how to change the font size using c programming and one more thing i a creating this file through a embedded machine in pendrive.

Software Development c
Member Avatar for myk45
0
146
Member Avatar for gedas

Hey, i was wondering whether anyone ever came accross developing something that would allow to have a software installed on the vm. What i mean by that is that i would want to install ie (internet explorer)/or any other windows application whithin my java app. so it could be opened …

Software Development java mac-software operating-system os-x
Member Avatar for NormR1
0
96
Member Avatar for erikdeboy

I'm trying to create a poker dice game. There are comp player and user player. Each player will roll dice 5 times. Basically, it likes create 2 random array, with 5 elements in each array. I'm trying to compare the outcome of these 2 arrays. For example; 2 pairs beat …

Software Development
Member Avatar for thines01
0
703
Member Avatar for new_2_java

Hi all, I have a java program when I compile it, it compiles fine, without any error or warning. However, when I run it, I get the following warnings. [code] bash-2.03$ javac CountSessions.java bash-2.03$ java CountSessions Writing data to file... Data written to file !! log4j:WARN No such property [maxFileSize] …

Software Development apache java
Member Avatar for NormR1
0
4K
Member Avatar for GeekTool

How can i call ? i am so much confused now ? can anybody please help me ?

Software Development java
Member Avatar for NormR1
0
133
Member Avatar for sandz24

Does anyone know the equivalent version of cvCreateImage in c++. I tried googling it but no luck. Thanks!!!

Software Development c++ image
Member Avatar for Ancient Dragon
0
129
Member Avatar for KungFuTze

Good Morning, I'm having some problems with my code. This program is to have at least 5 functions . 1.)Ingrades: a two dimensional array that stores student ID, grades and times absent. 2.)Score. Calculates scores for all course work (two partial tests 15% each , two quizzes 10 %each, 1 …

Software Development c++
Member Avatar for Stephen Ayayo
0
2K
Member Avatar for Upoma

I am going to build a desktop software with client-server facility.What are the things i need to do for client-server? 1.Should i make 2 different version of the software?One with database for the server and one for client without database. 2.Or should i have some options in one software inside …

Software Development client-server java
Member Avatar for JamesCherrill
0
807
Member Avatar for 1234qwerty

Hey, i have to finished a cacluator, all my code seems to be working apart from the equals button and i do not understand why..i've tried several different things such as a case too but nothing seems to work to get the equals button working..please help!! This is my code, …

Software Development vb.net
Member Avatar for TwijoO
0
167
Member Avatar for john_beginner

hello all how can i clear the DOS screen through java program i hava search so many web site but i can't found the proper ans. thanx in advance [:)]

Software Development java
Member Avatar for stultuske
0
13K
Member Avatar for NestaMarley

The Application should be able to add an entry , view an entry and delete and entry.. All other functions are working properly but my applica tion cannot delete.. Please assit where i shuld place my delete method import com.jjpeople.addressbook.action.actionresult.ShowAddressActionResult; import com.jjpeople.addressbook.actionargument.ShowAddressActionArgument; import com.jjpeople.addressbook.actionargument.DeleteAddressActionArgument; import com.jjpeople.addressbook.businessdelegate.AddressBookDelegate; import com.jjpeople.addressbook.businessdelegate.AddressBookDelegateException; import com.jjpeople.addressbook.businessdelegate.AddressBookDelegateImpl; …

Software Development gui java
Member Avatar for stultuske
0
385
Member Avatar for Stein102

What I'm doing is making a game and I need to do this for my items: - Have an "Item" Class - Have other superclasses such as:Weapon,Armor,Food - Read XML file with items on it. - Create appropriate Item classes with the correct extended class. - Fill the fields with …

Software Development java xml
Member Avatar for JamesCherrill
0
199
Member Avatar for sam63

What is the difference? Is one better than the other? How do you choose between the two? Why does one not need to instantiate when calling a static method?

Software Development
Member Avatar for MuhammadSaad
0
4K
Member Avatar for arushi.05

can any body tell me a udf program in c++ which accepts a squared integer matrix with odd dimensions(like 3*3,5*5....) & display the sum of the middle row and middle column elements. please help me if you can................

Software Development c++
Member Avatar for TrustyTony
0
171
Member Avatar for sanket044

is it possible to run one code on differet events of different controls like vb.net??? how???

Software Development visual-basic
Member Avatar for debasisdas
0
80
Member Avatar for nagatron

Hello to all VB masters, I have a problem with the search command. I have a button name [B][COLOR="red"]"btnSearch"[/COLOR][/B] a text field name [B]"fldSearch"[/B] a table named [B][COLOR="red"]MSFlexGrid[/COLOR][/B] and a database named [B][COLOR="red"]db.mdb[/COLOR][/B]. The function of the search button is to search the data being entered in the fldSearch and …

Software Development visual-basic
Member Avatar for ChrisPadgham
0
412
Member Avatar for Bile

Hello everyone, can some one help me with the code to create a folder by code in vb6,I am greatefull for Qvee72. The scenario I have is that I have an application that allows users to login but waht I need specific is to create users forlder during registration so …

Software Development visual-basic
Member Avatar for ChrisPadgham
0
187

The End.