132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for king03

Hi there guys I am having trouble with a particular input in my program. If you will run my program and enter the word "IT" in Enter Course, it loops and jumps to do you wish to return to the main menu. Please use Microsoft Visual C++ 6.0 Professional Edition …

Software Development c++ ios
Member Avatar for m4ster_r0shi
0
199
Member Avatar for de Source

Hi i have an array i am allotting array values through a loop now i want to add each value of an array in a text box. here is my code [CODE]private void btnFramCode_Click(object sender, EventArgs e) { int Row = Convert.ToInt32(tbRows.Text); int Column = Convert.ToInt32(tbColumns.Text); int[,] arr = new …

Software Development
Member Avatar for de Source
0
1K
Member Avatar for AAXXOO

HELLO GUYS.. IM NEW TO THIS FORUM.. WELL.. MY I AM DEVELOPING AN HELP DESK SYSTEM AS MY FINAL YEAR PROJECT.LANGUAGE IS c#,SQL SERVER 2005,VISUAL STUIO 2010. I HAVE 2 COMBO BOXES. FIRST ONE IS REPRESENT COUNTRY, SECOND ONE IS CITY, WHAT I NEED IS IF I SELECT A COUNTRY …

Software Development
Member Avatar for oredigger
0
110
Member Avatar for xanawa

Hi, I am trying to figure out a problem but i cant my mind is totally blocked. I have to make conditions for this: When someone makes reservation it checks the availability of the table. the time of a reservation should last 3 hrs. Now i want a condition that …

Software Development
Member Avatar for oredigger
0
130
Member Avatar for WildBamaBoy

The program that uses this function is receiving files of multiple types and sizes from another PC. It has been working well but when the files' size exceeds about 100MB I run out of memory. I need to modify the receiving code so that it saves the incomplete file to …

Software Development file-stream hard-drive
Member Avatar for oredigger
0
156
Member Avatar for lili.edryana

[CODE]RpcProxy<PagingLoadResult<BaseModel>>[/CODE] Hye guys. I would like to know what is the meaning of [B]<>[/B] in the statement above? What I mean is something like <BaseModel>. What is this? When is it going to be used? Thanks

Software Development java
Member Avatar for NormR1
0
107
Member Avatar for TrustyTony

Lookup table is usually the fastest method to find function value, if number of values is small. Here we demonstrate the principle by using task of showing the value of byte as binary string or transforming binary string to byte binary value.

Software Development python
0
492
Member Avatar for m4ster_r0shi

I have two code snippets that involve recursive manipulation of std::strings. [B]code snippet 1[/B] [CODE]#include <iostream> #include <string> void print_stuff(int min_n, int max_n) { struct local { static void build_stuff( int min_n, int max_n, int cur_n, int cur_c, int max_c, bool inc, std::string & ret) { if (cur_c == max_c) …

Software Development c++
Member Avatar for m4ster_r0shi
0
247
Member Avatar for zachmandude32

Compiler: gcc and/or g++ Linux: Mac OS X 10.6.7 curlpp version: 0.7.3 -Hi I am having trouble compiling my cpp program, I am just trying to do an example from the curlpp website [URL="http://tinyurl.com/3auvcjo"]http://tinyurl.com/3auvcjo[/URL] . I am using that code exactly. Also I've tried to search online to see what …

Software Development c++ os-x
Member Avatar for zachmandude32
0
1K
Member Avatar for weezy101

i have a problem with my python class. it contains a method that goes through all the keys of a multi_dimensional dictionary. The dictionary keys may be in the following order (1->(2,3),2->(5,6)). the problem is when the method attempts to get the keys, sometimes it gets them in the right …

Software Development python
Member Avatar for woooee
0
185
Member Avatar for Akay2

Here is my script for defining the position in C# (with XNA) [CODE] public void PositionDefinierer(int v) { positionCheck = true; if (v == 1) { v *= 0; positionCheck = false; } else { if (v < 11) { v *= 50; } else { if (v < 21) …

Software Development
Member Avatar for skatamatic
0
160
Member Avatar for de Source

Hi, i have 2 buttons btn1 and btn2 when i click btn1 it creates an array of buttons Now i want to call those buttons when i click btn2 its bit complicated project (for me) i cant explain it i just want to add "if" check in btn2 to check …

Software Development
Member Avatar for de Source
0
122
Member Avatar for kandarpa

Hi, I am allocating memory using [B]malloc()[/B] and then I am filling the aloocated memory with "0" using [B]memset()[/B]. The combination of [B]malloc()[/B] and [B]memset()[/B] are being called many times in my project. After adding memset() function affecting my project's performance. So I am searching for the alternative for the …

Software Development c
Member Avatar for N1GHTS
0
3K
Member Avatar for syeda amna

hi is there any difference between servlet and HTTP server. I want to develop client server model (two tier) please help. how to do it?

Software Development client-server java
Member Avatar for syeda amna
0
209
Member Avatar for Thisisnotanid

Hi everyone. I've decided to learn C++ and have come to the inescapable step of having to choose my development environment. I have a short list of IDE's I'm considering but, since I'm new to C++ and programming in general, I'm confused as to which I should pick. I've taken …

Software Development c++ ide java-netbeans
Member Avatar for Moschops
0
238
Member Avatar for AW8Dragon

Hello everyone, this is my very first post in this webpage so here we go. I've got this problem with my hw assignment, it's almost finished except for one part. The hw is as follows: - Create an address book, creating 4 text files in the computer memory. Each text …

Software Development algorithm c++ ios user-interface
Member Avatar for AW8Dragon
0
408
Member Avatar for Vidgie65

These are the last few errors in my code that I am having issues with. Please provide some direction or thought as to what to do to fix it. generator.cpp(11) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int generator.cpp(11) : error C4430: missing …

Software Development c++
Member Avatar for mike_2000_17
0
383
Member Avatar for yuvalm2

Is there any good way to share a given directory over the network? Or at least, if the directory is already being shared, is there any way for me to get its network path? (Something like [code]\\190.10.10.1\my_shared_dir\[/code])

Software Development python
Member Avatar for richieking
0
120
Member Avatar for xpartmgr

I am new to C++ and have a question about include files. I have some classes that I want to share between the main and other classes also. So I include the reference in my main and also in my class. However, this causes a compiler error. If I comment …

Software Development c++
Member Avatar for xpartmgr
0
164
Member Avatar for trivax

hey there.. i m a begineer in this java.. i m developing a simple database program to keep records of patients for a small organization in netbeans 7.0 beta. i havn't developed the whole software.. when i test, it doesn't gives errors at first.. when i press the add record …

Software Development java java-netbeans java-swing
Member Avatar for trivax
0
150
Member Avatar for emmaand

Hello, I am a total beginner at c++ I am writing a console program and I am wondering how I should do to exit the program, like if the user is asked Do you want to continue ( yes/no) and the user enters no then I want the console to …

Software Development c++
Member Avatar for murnesty
0
8K
Member Avatar for merse

How to initializing a const set with list of values? I want to initialize in the preambulum, so I dont want to define and initialize an array before initializing the set. I want to do this in one row, if it is possible.

Software Development c++
Member Avatar for lcordero
0
2K
Member Avatar for Beat_Slayer

Well, it bothers me to build menus for every shell application that needs one. So, I've written a module to handle that, like in the good old turbo pascal times. :) Here it is, the module comments are pretty explainatory, I think, and the sample usage if run as script …

Software Development pascal python shell-scripting
Member Avatar for Beat_Slayer
0
3K
Member Avatar for niggz

Hello everyone. I am working on my final project at university for C++, and I got stuck a little. I have an array inside an array. And I want to access that inner array's member and print it with cout. Here is the code: [code=c] void standings(userClub uc){ cout << …

Software Development c++ microsoft-access
Member Avatar for niggz
0
411
Member Avatar for ginnntux

Hello everybody, I'm new here and in C# and I'm trying to create a nonogram solver, but have some problems with graphics(I can't even find out it with debugger)... When I turn on my nonograms, loading works perfectly, but i see only red cross in main window: [URL="http://www.mypicx.com/06212011/nono/"]http://www.mypicx.com/06212011/nono/[/URL] so i …

Software Development
Member Avatar for ddanbe
0
190
Member Avatar for stbuchok

Does anyone have a good tutorial on how to capture video and images from a webcam in WPF. All the ones I've come across give code but little explanation as to what they are doing. Something that is step by step would be nice. The funny thing is that in …

Software Development asp.net webcam
0
142
Member Avatar for naffan

Hi all, I'm just finishing the code part of an assignment I think I have everything working as intended with the exception that After either the prime number or stamp duty methods complete (A & B options) they don't "flush" the char choice (under the getChoice method ) The vowel …

Software Development java
Member Avatar for JamesCherrill
0
5K
Member Avatar for mojgan_2019

How can i write my data from EditBox to SQL Table whit using ADODataSet,ADOTable and DataSource? Please help me? and write Example Code...

Software Development pascal
Member Avatar for slices
0
177
Member Avatar for techie1991

I was looking around the time module. The time.sleep(no_of_seconds) sleeps the program for no_of_seconds seconds. I don't think this is busy wait. It must be scheduling the process at a later time. Just curious of how this is working.! :)

Software Development python
Member Avatar for techie1991
0
2K
Member Avatar for zhealz12

guys please help me ./.... what is the meaning of scanner and what is the uses of import java.util.scanner? need some help......

Software Development java
Member Avatar for NormR1
0
121
Member Avatar for wiredtoawall

I would like to know how would I write a piece of code to search a database based on a keyword entered? I haven't started yet but I don't even know the syntax for writing such a program/subprogram plz help

Software Development pascal
Member Avatar for slices
0
382
Member Avatar for anjoz

I need to make a recycle bin code using bash my problem is that i dont know how to get the previous path of the files that ive deleted so when i restore it it will go to the directory that it was deleted from ive tried putting the paths …

Software Development shell-scripting
Member Avatar for JeoSaurus
0
364
Member Avatar for aiwasen

Hi!I'm new in java so I really need your help. The problem is how do I return a value if I made another choices again and again.. here's the expected output: Enter size of class: Choose Action: [1]Enter a Student [2]Enter list of student [3]Exit Enter choice[1-3] I created some …

Software Development java
Member Avatar for peter_budo
0
163
Member Avatar for Celtrix

command line/terminal arguments are driving me bananas according to most of my google searchs this should work by the way i am using g++/gcc version 4.6.0 [CODE] #include <iostream> #include <string> using namespace std; int main(int argc, char **argv){ if(argc==0){ cout<<"Use -l or -ls!\n"; } if(string(argv[1])== "-l"){ //code for lua …

Software Development c++
Member Avatar for Celtrix
0
174
Member Avatar for Chair

Hi, Is there a way to "clear a previous loop and form a fresh new loop"? I'm paging my datagrid. Upon form_load, it shows all records in batches of for example 10, which I can set in a textbox. If for example I have 60 records, then my loop code …

Software Development c#
Member Avatar for Chair
0
242
Member Avatar for poonamjadav

hello, i m a student and working on a mlm project and want to generate a binary tree. please can any one send me the code for it in C#.net please help me.

Software Development programming-construct
Member Avatar for ddanbe
0
100
Member Avatar for zifina

i need to print the details from different textboxes on an open form.i dont know how to do it. Print button is on the same form. what is to be done if details from textboxes of different tab pages need to be printed? please help. thankyou

Software Development
Member Avatar for ddanbe
0
84
Member Avatar for MareoRaft

What is the difference between "int main(void)" and simply "int main()"? Is "int main()" acceptable?

Software Development c++
Member Avatar for Raphaelnad
0
458
Member Avatar for orion3184

Hello, I'm new to assembly and am finding myself porting someone's MASM old code to C++ for portable smartphone architectures. There's a syntax on the memory addressing I'm having trouble interpreting. Can anyone help me understand what's going on? It's probably an easy question for everyone familiar with the syntax, …

0
156
Member Avatar for akasekaihime

[COLOR="Green"]Can you spot what is wrong with the java code that I am doing. Here is the java code that I have been working on...[/COLOR] [CODE]import java.io.*; public class Konata { public static void main (String args []) { BufferedReader br=newInputStreamReader(System.in); int grade,answer=0; do { System.out.print ("\n Enter grade"); grade=Integer.parseInt(br.readline()); …

Software Development java
Member Avatar for ztini
0
111
Member Avatar for akasekaihime

[COLOR="Green"]can anyone teach me how to make a java code out of this situation?[/COLOR] [COLOR="green"][B]here is the situation...[/B][/COLOR] [COLOR="Red"][B]Write a program that accepts 3 integers and display the highest and lowest input. N1=100,N2=200,N3=50.[/B][/COLOR] [QUOTE][COLOR="Green"][U]Thank you![/U][/COLOR][/QUOTE]

Software Development java
Member Avatar for peter_budo
0
164
Member Avatar for nattienat7

Hello, Thank you in advance for taking the time to help me!! My assignment is to write a dice game in java using the Die.java class.The object of the game is to reach a total of 41 or more by rolling a pair of dice no more than 6 times. …

Software Development java
Member Avatar for ztini
0
561
Member Avatar for student.09

Hi Everyone, I just need a little bit of help figuring out what i'm doing wrong in my code that the salary keeps output as zero. I'm writing a code that is suppose to determine whether the employee is a staff or faculty and then calculate and output the salary. …

Software Development java
Member Avatar for NormR1
0
161
Member Avatar for N1GHTS

I have been coding in C for a very long time, and I thought I had it all figured out, until I saw this code in an MD5 library: [code] static void MDPrint (mdContext) MD5_CTX *mdContext; { int i; for (i = 0; i < 16; i++) printf ("%02x", mdContext->digest[i]); …

Software Development c
Member Avatar for N1GHTS
0
205
Member Avatar for king03

Hi there guys I am looking for a way on how I can increment an object from a structure which is an integer type. the string types I have Increment well but the int types do not. it says int[int] is invalid for array subscript. The red font on my …

Software Development app-store c++ file-stream ios
Member Avatar for WaltP
0
119
Member Avatar for programing

hi i hope you to help me . my teacher in introduction to programming concept course ask me to make a small realy small compiler that i did not study before .. i don't have any idea about compiler never if you can give me tutorial about it ..plz i …

Software Development c++
Member Avatar for rubberman
0
246
Member Avatar for HuXiaoxiang

Hi all, Forgive my pool English first... I'm learning Python recently. But I met with a problem yesterday and I have liitle experience in solving this kind of problems. Here are the code in Python Shell: [CODE]>>> "HuXiaoxiang\\0Nanjing University\03 Years.".replace("\0"," ") 'HuXiaoxiang\\0Nanjing University\x03 Years.' >>> "HuXiaoxiang \0Nanjing University\03 years.".replace("\0"," ") …

Software Development python
Member Avatar for HuXiaoxiang
0
253
Member Avatar for blades89c

Good day, I have a ReportViewer showing a report that is bound to a dataset. The dataset gets its data from a Access database backend. I have a separate form that allows the user to add/update/delete data. My problem is when the user makes changes to the data using the …

Software Development asp.net dataset vb.net
Member Avatar for yousamook
0
694
Member Avatar for Dean_Grobler

Hey guys, Okay, tough one. How exactly would we go about integrating Biometric scanners (e.g. fingerprint scanners) with our software? The way I see it, the scanner scans a finger print, and then saves that data in a database, but what data is this? What file type? This is probably …

Software Development java
Member Avatar for rubberman
0
161
Member Avatar for iwannalearn

I have recently started jdbc nd now i am confused that what is the real purpose of Class.forname() method?? Also what is the diff. between Class.forname() and DriverManager.registerDriver()?? plz reply soon

Software Development java
Member Avatar for NormR1
0
604

The End.