199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for chescarleta18

[code] #include<stdio.h> int m,i,c; main() { clrscr(); for(m=1; m<=10; m++) { for(i=1; i<=10; i++) { c=m*i; printf ("%d\t",c); } printf ("\n"); } getch(); } [/code]

Member Avatar for chescarleta18
0
107
Member Avatar for Medic873

How could I make it where it will take 2 image files .jpg or .bmp and compare them and if they are alike to a point have a if statement of cursor so if 85% like do this { beep } thank you as always your help is great thank …

Member Avatar for Ravenheart
0
299
Member Avatar for gunjannigam

I have drawn a cirlce and 2 line which intersects the circle using 2D Graphics. Now I want to draw an arc between the intersection point. The attached pic can show very clearly wht i want. The black portion is drawn. The red part is to be drawn. The radius …

Member Avatar for gunjannigam
0
88
Member Avatar for TYGA

Hay Everyone i'm a new member of this fantastic fourm , and i have some problems with programs i'm really stuck with:'( , so guys i really appreciate any one who can help me with anything, and here is the problem , Write a program using a set of functions …

Member Avatar for kvprajapati
0
137
Member Avatar for Letscode

I need some help to find the frame width and height in a frameset. I used something like top.[framename].document.body.clientwidth but I'm not getting the clientid when i used top. function???

Member Avatar for m.electron67
0
116
Member Avatar for talor

Hi, I searched all over, but can't seem to find a way to submit a username and password in a website. I tried filling in the fields using WebRequest and Post, but that didn't work (or I don't know how to use it correctly... :$). Does anyone know another way …

Member Avatar for shamseena
0
130
Member Avatar for DawnOfIkaros

I'm making a text-based RPG (Sure you haven't heard that one before ;)) So I'm trying to randomize the damage that the player deals. I want the damage to be (strength*2) + a random number between the variables mindamage and maxdamage, how do I do that?

Member Avatar for DawnOfIkaros
0
67
Member Avatar for new_divine

how to resize and make the thumbnail view of the photos like in facebook or other sites without distorting the photos

Member Avatar for muralibobby2015
0
96
Member Avatar for P00dle

I get a ArrayIndexOutOfBoundsException. The cause is this snippet: [CODE]public static void main(String[] args) { //command line param try { [B]if (args[0] != null) {[/B] if (args[0].equals("printer")) { printToFile = false; } } } catch (Exception oob) { oob.printStackTrace(); }[/CODE] I don't give the program any parameters when I start …

Member Avatar for P00dle
0
77
Member Avatar for _dragonwolf_

The section of my code that is commented out is what I need help with. I am wanting to check the user input of binary for anything other than a 1 or 0. Also, it will only accept an input of 10 numerical characters or less. I am wondering if …

Member Avatar for parry_kulk
0
708
Member Avatar for hajiakhundov

Hi everyone. I am creating a small windows form application using Visual C++; and I would need to delay a loop by a second. Sleep() doesn't work.(Not sure why) Is there a way I can use the timer? Any suggestions on how can I do that? Thanks in advance. :)

Member Avatar for hajiakhundov
0
137
Member Avatar for samarudge

Hi, I'm trying to find a suitable language for developing an RIA to be able to tune an instrument via a website. I.E. what I need is: 1) Live input from a microphone 2) Get the volume level of different frequencies 3) Find the average or loudest frequency 4) Output …

Member Avatar for samarudge
0
84
Member Avatar for renu_kj

Hi I have a column named 'ExtRefNo' which of varchar datatype. The values can be numbers alone(eg; 101) & values comprising characters & numbers(eg:101A3) My requirement is if the user search for ExtRefNo between 100 & 105, it shud retrieve all ExtRefNos ranging from 100,101,102,103,104 & 105. Need not include …

Member Avatar for renu_kj
0
250
Member Avatar for facadie

Hi there, I'm doing a camera caliberation program which will detect whether there is stain on the camera lens. i have a program that can detect the stain and display but how do i go about detecting the position and also CIRCLE the position whereby there is stain. any suggestion? …

Member Avatar for Nick Evan
0
96
Member Avatar for Samyx

I am trying to implement an interface so that the main program would work. Any light? I am having a difficult time trying to understand interface :/ [code] interface ArithmeticOperator { // Returns the result of applying the operator to operands a and b. double operate (double a, double b); …

Member Avatar for javaAddict
0
87
Member Avatar for mymyzzz

i really need help!!! i am a noob, just getting started in c++ and i need help sorting my array. please don't suggest me std::sort because i don't really know how to use those! sorry i am such a noob, but i prefer it the simplest way possible please help …

Member Avatar for Nick Evan
0
106
Member Avatar for crispusx

Hello, I have an app that use an excel component(ocxt.com). This component have a strange behavior, which I reproduced it with Interop.Excel. Bellow is the functions with I open and close an excel file programatically: [CODE] private ApplicationClass app = null; private Workbook book = null; private Worksheet sheet = …

Member Avatar for crispusx
0
253
Member Avatar for windermere

Here is the LinkedList.h file: [CODE]// LinkedList.h -- class for a linked list as a data structure template <class DataType> struct Node { DataType info; Node<DataType> *next; }; // LinkedList maintains a current position in list after each function call // If an object of a struct is used for …

Member Avatar for bamcclur
0
184
Member Avatar for Jfunch

I keep getting a Segmentation fault error when i run my program, i read that this is an error with memory or somthing, i was hoping someone could point out where the problem in my program is. My code is below. [CODE] #include <iostream> #include <vector> using namespace std; class …

Member Avatar for pecet
0
247
Member Avatar for govindak

would someone help me learn stl ? i am new to c++ and i am learning myself so its getting very hard to understand...... thanx everyone in advance....

Member Avatar for govindak
0
79
Member Avatar for vtsmokey88

The fact thats it an AVL tree probably doesn't matter. I have a printTree method in my tree class and I'm trying to print the nodes in the form of the tree. I've successfully printed the nodes the correct way but now I'm trying to label the nodes by their …

Member Avatar for vtsmokey88
0
103
Member Avatar for songweaver

Hey guys, I have been working on this problem for a while and wanted to see if you could spot what the problem is. This form is used so I can add a customer to the list which calls up another form for the adding. And also has an option …

Member Avatar for phatJacob07
0
106
Member Avatar for R3Slick

like in my previous posts, I have a search.php file and a searchResults.php file. There is a drop down menu on the search.php file and it has various methods to search a table in my DB like EmployeeID, EmpName, Team, Department, and Manager. i got all the rest working; however, …

Member Avatar for R3Slick
0
108
Member Avatar for AutoPython

I have a limit of 30-45 dollars to buy an editor (with Python support, obviously) . Here's what I would like. Customizable syntax highlighting (like the kind in Notepad++). Auto indent, so it autmatically indents 4 spaces after a ':' character. Good code completetion. A built in IDE. Preferably like …

Member Avatar for Gribouillis
0
174
Member Avatar for smithaboby

I want to store multiple usernames and passwords in the oracle 9i and connect with VB. I am new with this. Kindly send me reply. Smitha

Member Avatar for debasisdas
0
154
Member Avatar for mpierre

Hello Every one, im in a need for some help i have the following issue : ---[B] Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in D:\Hosting\00000\html\index.php on line 10[/B] this is what the code looks like Can some one please assist me on what is wrong …

Member Avatar for venkat0904
0
93
Member Avatar for hgftechhead

Hi All, I have an assignment that asks : Write a program that prompts the user for test scores (doubles). The user enters -1 to stop the entry. After all of the test scores have been entered, calculate the average, the highest and the lowest test score. Use the code …

Member Avatar for jomanlk
0
136
Member Avatar for arushibafna

hey, while working on my project, i encountered a problem .here's the description- a teacher is required to insert marks of 15 students.( 15 is just the random no. , it can vary) . so a page is displayed with the roll no. and names with a text box in …

Member Avatar for venkat0904
0
182
Member Avatar for ramjeev

Difference between Runnable interface & Thread class?Which one to use, though both seems to be same? As per my knowledge,runnable can be implemented in such a case that already it has some hierarchy -Thanks in advance

Member Avatar for ramjeev
0
152
Member Avatar for witinnovation

I have read the article that how to create waiting page but not understand properly anyone can post one more example of waiting page in ASP.net

Member Avatar for Sals
0
104
Member Avatar for lotrsimp12345

I was wondering if any one had any suggestions for areas to research which tie with Artificial Intelligence. My interest is AI but since I haven't taken a class in AI. I can't do a project in that.

Member Avatar for ithelp
0
100
Member Avatar for veledrom

Hi, Is there any chance of resizing gif, tif, bmp, jpg, png I know that we can jpg files. Thanks

Member Avatar for venkat0904
0
93
Member Avatar for smohrchi

I've been working with Java for several years now and it's time for me to expand to other languages. I've decided to learn Python and have now just started looking into where to begin. I'm wondering if there is one, maybe two books out there that are considered to be …

Member Avatar for jaux
0
92
Member Avatar for kekekerush

Let's say you have some code in the .data section: [CODE]doodle db "*****,3,*****"[/CODE] Is there anyway to change the ,3, into something else? (Perhaps a smiley face or somesuch.) I was thinking if I had the registers all set up, I could do something like: [CODE] ~~assume there is code …

Member Avatar for NotNull
0
98
Member Avatar for aruti

Please tell me can we insert data in multiple table with single query in mysql. For example i have two table with name `table1` and `table2` and fields in `table1` are 'id' auto incremented and primary key, second field is 'name' data type varchar of 25 and another table `table2` …

Member Avatar for rch1231
0
2K
Member Avatar for leoeroy

I'm trying make a 2 dimensional array. An array of object. I'm trying to make a 126 by 94 array of green SpotInField objects. [CODE]import javax.swing.*; class FarmField { public static void main(String[] args) { int width = 126; int length = 94; } public void FarmField(SpotInField myField[][], int dwell){ …

Member Avatar for leoeroy
0
648
Member Avatar for vinochick

I have most of the program written, but I'm stuck on the 2 dimensional array. Here is the code I have so far: [CODE]#include <iostream> using namespace std; //function prototype int calcTotal(); int main() { //declare variable and array int total = 0; int sales[6][2] = {{12000, 10000}, {45000, 56000}, …

Member Avatar for vinochick
0
115
Member Avatar for randomized999

how can i execute a loop (a series of natural numbers from 1 to 100) in dos shell ? code:- [ dim a as integer,dim b as integer for b=1 to 100 step 1 for a =1 to 100 step 1 print a,b next a next b ] it is …

Member Avatar for vb5prgrmr
0
168
Member Avatar for Diamonddrake

I have inherited from a picturebox and modified it to allow a selection rectangle to be drawn. Everything works well, except I would like for it to work in all sizeModes. center is simple, normal is simple. but I cant' seem to get "Zoom" to work. I have used reflector …

Member Avatar for Diamonddrake
0
117
Member Avatar for futhonguy

Hi, I had developed a viewing table from mysql database using php and it is showing me the whole list of contents in a single webpage. I would like to know if there anyway i can actually split the contents into multiple pages for easy viewing?? Your help is greatly …

Member Avatar for futhonguy
0
2K
Member Avatar for xcorpionxting

I'm working on a small C++ project that requires using classes. I'm supposed to create a super class Animal and the sub classes Fish, Bird and Insect. In the main function, the object of type animal is created. I need that object to 'become' one of the 3 other types …

Member Avatar for xcorpionxting
0
204
Member Avatar for Kirielson

Hello, I've checked a recent Game of Life thread and unfortunately it did not address my problem. I'm trying to manipulate life based on how many cells have life. I'm assuming that it's the way that I'm doing the counting that is messing up the problem but it could also …

0
72
Member Avatar for kostasxx

hello dear friends i installed visual studio ( full installation) then i got xampp from their site i have mysql and apache running i downloaded the connector from mysql site and i created a simple project to check if i can connect to mysql or not i have made this …

Member Avatar for geek53
0
134
Member Avatar for raigs

N00B here. I need to reuse a function's return in other functions. The problem is that the function's return changes every time it is called. How to achieve this? [CODE]int FUNCTION1(void) { // do stuff return FUNCTIONRESULT; // return to be reused in other functions } int FUNCTION2(void) // <- …

Member Avatar for twomers
0
83
Member Avatar for smurfh

I am attempting to write a vb.net 2008 application that will allow me to send files from a server to a client based on a request. I am going to post the same console application code below. When i run the server and the client on the local machine, i …

Member Avatar for smurfh
0
344
Member Avatar for baskar007

I have a list of part files (that is many parts of single file). I want to append all parts into a single file to make a full file. I used this code: [CODE] import os l = ["home/baskar/1.part","home/baskar/2.part","home/baskar/3.part"] source_file ="/home/baskar/source.file" re_size = 0 buffer = 10*1024 #10 KiB's for …

Member Avatar for Archenemie
0
187
Member Avatar for kjelle392

Hello friends! I'm just beginning with JavaScript (and Ajax). My loginscript now works with Ajax - that is; the script is sending a request to the servers PHP script to check username and password, but I wonder what that script should return - and how to use that response. Either …

Member Avatar for ryan_vietnow
0
360
Member Avatar for soapyillusion

Hey everyone, I'm new on the forums and I'm also quite new still too C++ programming I'm taking a course in it in college (to meet my requirements) Its not my major and I'm terrible at math to boot. I have an assignment where the professor wants us to make …

Member Avatar for soapyillusion
0
144
Member Avatar for mitchstokes225

This is what is asked of me. "Create a flowchart and write a complete C++ program that declares a 2 dimensional integer array of size 10 rows and 10 columns. The program should use two nested for loops to fill the array with the even numbers beginning with 2 in …

Member Avatar for mitchstokes225
0
1K
Member Avatar for proprasee

i have 10 button on click of button the colou change red ,blue alternatively . There is also an array initialised with zero ,by default buttons are red in colour. these are implemented but there is problem on click of each button the php corresponding array variable must changed to …

Member Avatar for Airshow
0
72

The End.