132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for potatskie

hi. i'm new to this site. so i somehow not that familiar with the rules in posting so please consider if made some flaws here. i'm currently developing a software that involves reading the the file system. i'm using C# which i'm still new to it. the software involves reading …

Software Development
Member Avatar for potatskie
0
174
Member Avatar for unk45

im supposed to create an address book and so far have gone as far as getting the input..my problem now is the highlighted section..i have to return bak the info put in initially by the user (first, last name and address), based upon a question to the user to input …

Software Development c++
Member Avatar for stilllearning
0
232
Member Avatar for CPPRULZ

I tried to make a simple function that takes an array parameter and outputs it and it keeps giving me th error: \function test.cpp(12) : error C2664: 'func' : cannot convert parameter 1 from 'int' to 'int []' 1> Conversion from integral type to pointer type requires reinterpret_cast, C-style cast …

Software Development c++
Member Avatar for vidit_X
0
350
Member Avatar for Geard2

I am new to link list and I have this problem where you have two lists. One list pointed by HEAD has a list of numbers in it, and the second list pointed by LARGE that contains the highest element(s) in the list pointed by HEAD. Each element has three …

Software Development algorithm c++
Member Avatar for stilllearning
0
114
Member Avatar for milonsito

I hope you guys can help me Im having troubles with this. I need to create this using Vb or vs2008 visual studio or visual basic 2008 can you guys help me? INTERNET SERVICE PROVIDER An internet service provicer offers 3 subscriptions packages to its customers, plus a discount for …

Software Development vb.net visual-basic visual-studio
Member Avatar for milonsito
0
333
Member Avatar for Sergei82

The problem: I have an executable and mylib.dll (C# class library) in the same directory. I have a subdirectory "Patch" in that directory containing another version of that mylib.dll. I need to make a sample application somehow that loads the first dll, than frees it (like LoadLibrary and FreeLibrary in …

Software Development api assembly windows-api
Member Avatar for Sergei82
0
145
Member Avatar for JackDurden

Im having real trouble seeing this, how do I delete something out of a linked list if it is already there? My current delete function just deletes everything out of the list. the text file contains numbers like this: 75 85 95 25 35 75 85 95 25 [CODE]#include <iostream> …

Software Development c++ linked-list
Member Avatar for JackDurden
0
86
Member Avatar for paulo_war

can i have a sample of a working lexical analyzer??plss...i need it for my project..

Software Development c++
Member Avatar for paulo_war
0
107
Member Avatar for luisvega

I have a vector of strings "moves" [code]std::vector<string> moves;[/code] and the Chars: [code] char fromX, toX, fromY, toY; [/code] I use: [code] sscanf(moves[0], "%c%c %c%c", &fromX, &fromY, &toX, &toY); [/code] and Compiler says: [code] error: no matching function for call to 'sscanf(std::string&, const char[10], char*, char*, char*, char*)' [/code] What …

Software Development c++
Member Avatar for Ancient Dragon
0
129
Member Avatar for shiniboy

[code=cplusplus] if(minrange<maxrange) { cout <<"The numbers that are divisible by " <<increment<<" are "; cout <<endl; for(count=minrange; count<=maxrange; count++) { if(count%increment==0) { cout <<count <<" , "; sum1 = sum1+count; } } [/code] this is the code that i wrote. The code is working fine. However, my problem is that …

Software Development c++
Member Avatar for Ancient Dragon
0
115
Member Avatar for jammy's

#include<iostream.h> #include<conio.h> #include<process.h> const int max=5; class stack { int s[max]; int top; int temp; public: stack (int j,int p){top=j;temp=p;} void push(int item); void pop(); void display(); }; void stack::push(int item) { if(top<4) { top++; s[top]=item; } else { cout<<"\nStack is full!"; } } void stack::pop() { if(top>-1) { cout<<"\nThe …

Software Development c++
Member Avatar for ArkM
0
126
Member Avatar for jammy's

[code=cplusplus] #include<iostream.h> #include<conio.h> #include<process.h> const int max=5; class queue { int r; int f; int q[max]; int temp; public: queue(int l,int m,int p){r=l;f=m;temp=p;} void insertrear(int item); void deletefront(); void display(); }; void queue::insertrear(int item) { if(r<(max-1)) { r++; q[r]=item; } else { cout<<"\nQ is full"<<endl; } } void queue::deletefront() { …

Software Development c++ queue
Member Avatar for Ancient Dragon
0
87
Member Avatar for ihatehippies

So I made this script call auto ascii encrypter and it basically goes character by character through a script and converts it to ascii numbers. It makes a new a script using the ascii numbers. But I get an error no matter how simple the script is. 'invalid syntax.' Heres …

Software Development encryption python
Member Avatar for Gribouillis
0
132
Member Avatar for Talli

can someone make a simple program that prints numbers in series depending on the persons input .. for eg :- if input is 5 then output should be : 1 1 2 1 2 3 1 2 3 4 1 2 3 4 5 ....please help asap .. thank you …

Software Development c c# c++
Member Avatar for Talli
0
133
Member Avatar for freelancelote

Hi, during an assignment I needed to write a function that, among other things, had to print some of an array values. The simplified version that I show below creates an array of 50 pointers, populates it, and prints the values from main and from a function. I'm really struggling …

Software Development c++
Member Avatar for freelancelote
0
122
Member Avatar for Se7Olutionyg

[QUOTE] * Calculates and displays: o The number of square centimeters of material that are needed to manufacture a specified quantity of flat washers o The weight of the left-over material, after the washers are stamped. In order to calculate the leftover weight - you will need to determine the …

Software Development algorithm c++
Member Avatar for Lerner
0
254
Member Avatar for legend_018

Hi. I'm trying to learn c# using some online tutorials. At one point, it was teaching me that objects are defined by attributes (data) and behaviors. Example of an Object could be a person with eye, color, and height as attributes. Than later on, I'm learning about properties. The examples …

Software Development
Member Avatar for legend_018
0
383
Member Avatar for peter_budo

:o Hi there!!!!!! May I ask for help? After holidays all my C++ knowledge gone. What I need is to create string from integer number and another string as STRING = INTEGER + SUFFIX where INTEGER is 5 SUFFIX is than 'th' so STRING is 5th

Software Development c++
Member Avatar for Talli
0
289
Member Avatar for codeforfun

Ok, this Program was supposed to make the [U]asterisk go down a line every 1 second[/U] and to be able to move right and left, It moves right and left but [U]it doesn't go down.[/U] For Those wondering, yeah im trying to make an arkanoid or something like that... this …

Software Development pascal
Member Avatar for LizR
0
103
Member Avatar for Lone | Wolf

hello, I'm new to the language and so far as I can tell this should work but it isnt. Sorry its probably just a newb mistake but i've spent hours on this silly error (and used search). [code]var call_start, call_length : integer; discount, cost: real; answer: char; const normal_price = …

Software Development pascal
Member Avatar for LizR
0
126
Member Avatar for laghaterohan

hello, I get my values displayed in the datagrid on the click of search button. In that datagrid there are several fields....among them one is the ID field.... When i click on the ID field that id should get displayed in the ID TEXT FIELD... Well, below is the code …

Software Development vb.net
Member Avatar for manal
0
127
Member Avatar for Daiosmith

Hi all, I have been having a problem for a little while with regards to strings. The problem is that i want to find two different words in a string then return the words between those 2 words. ie: If i had the string "The quick brown fox jumps over …

Software Development python
Member Avatar for shadwickman
0
110
Member Avatar for mhangman

hi, im trying to write a macro script but i need help about to using buttons.(on keybord not another device) i can define a button(with "input" for numbers if am i not wrong?) but how can use that? i want to push that button not print it or add it …

Software Development python
Member Avatar for Stefano Mtangoo
0
87
Member Avatar for Stefano Mtangoo

Hello guys, I'm trying to make a program that will : at startup it will give you login Dialog which will connect to database. Then it will bring Main window displaying tables. Then I have Another dialog to do some editing of Tables. Here are my two Questions: Is it …

Software Development gui python window-manager
Member Avatar for Stefano Mtangoo
0
182
Member Avatar for core2d

I have an assignment to write a pseudo-code to have a list pointed by H (list of numbers) that have to be copied to a list pointed by H1 (only the odd numbers need to be copied). Can anyone tell me if I am wrong on this (not a working …

Software Development algorithm c++ linked-list
Member Avatar for bhoot_jb
0
191
Member Avatar for tatainti55

Why do i get this error every time i try to compile an SDL source code? D:\gcc installation problem, cannot exec `cc1': No such file or directory. That's the ONLY error i get.

Software Development c c# c++
Member Avatar for tatainti55
0
117
Member Avatar for k2k

hi, as far as I know if i wanna read external text document, i can either do: [code] BufferedReader reader = new BufferedReader(new FileReader("xxx.txt")); or Scanner reader = new Scanner(new File("xxx.txt")); [/code] my first question is, what is the difference between BufferedReader and Scanner? And what is the difference between …

Software Development java
0
70
Member Avatar for Rraeyinde

Hi guys. This is a cry for help from a desperate student!!! I don't expect you to do this for me I just need my mistake to be pointed out to me. I'm creating a c# application which acts as a learning program to be used by teachers and learners. …

Software Development microsoft-access visual-studio
Member Avatar for okutbay
0
219
Member Avatar for redZERO

Hi again What is the name of the component in programs where there is: a 2 character text field and on the side there are up and down arrows to increase or decrease the value in the text field. There is usually one in the "Print" dialog in MSWord, with …

Software Development api java
Member Avatar for redZERO
0
111
Member Avatar for rob_xx17

hello, I'm trying to write a simple program that proves mathematical theorems (predicate calculus). What I need to do is to have a small database that holds all of the propositions ('abc'; 'b'; 'cde'; etc.). What I'm having a problem with is creating a function that would act as a …

Software Development c
Member Avatar for Salem
0
104
Member Avatar for sanchyvil

Hi I want to know how to compile c++ codes using the command prompt in windows. In linux I do [code]g++ filename.cpp -o filename[/code] and run it using [code]./filename[/code] but for windows when I try this procedure in compiling i got an error message [quote]'g++' is not recognized as an …

Software Development c++ ide
Member Avatar for sanchyvil
0
355
Member Avatar for sunveer

i want to know what are the lower triangle and upper triangle mean in a matrix. For eg: if matrix is [ 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 ] then what will the lower triangle and upper triangle in this …

Software Development c++
Member Avatar for ArkM
0
97
Member Avatar for luisvega

Hi, i have a problem with a vector. I declare a vector<char*> moves; in header. Code: [code] void LogView::init(){ int a = 0; while (LogFile.good()){ LogFile.getline(line, 6); moves.push_back(line); cout << "vector :"<< moves[a]<< endl; // here is OK a++; } moves.begin(); cout << "vektor :"<< moves[1]<< endl; // here is …

Software Development c++
Member Avatar for luisvega
0
2K
Member Avatar for needhelp83

I am brand new at C++ and I have a programming assignment I have to do. I have to create a directed graph and perform a breadth-first traversal. I have to use an adjacency linked list implementation without using any existing libraries as Standard Template Library. Where do I begin? …

Software Development c c# c++ linked-list
Member Avatar for needhelp83
0
144
Member Avatar for gopi17

hi, i'm currently doin a booking system...i have a problem regarding with the booking date... Ok, lets say i'm booking a table on the 7th of october at 7.00pm which is 2 days from today...once i book the table it is booking from today...the timer runs from now until the …

Software Development vb.net
Member Avatar for debasisdas
0
136
Member Avatar for rob_xx17

Hell, This might be a big vague, but I hope that someone might be able to help me. I have a program that does virtual simulation of robotic arm using inverse kinematics. The program works fine but right now I'm trying to collect some data, generated inside the program, into …

Software Development c
Member Avatar for rob_xx17
0
108
Member Avatar for narenthephoneix

hi all, i have connected 4 ip camera s with my pc.. i need to raise msg when the camera cable unplugged (abnormally) using winsock.. i tried using loop like for 0 to 3 winsock(i).close if winsock1(i).connect <> sckConnected then msgbox("no connection") end if i know as a beginner this …

Software Development visual-basic
Member Avatar for debasisdas
0
97
Member Avatar for Zeraskurinos

hello everyone I am trying to convert with VB a wmv video to bmp images. Does anyone knows how to do it? If it is impossible with VB could you suggest me any other language or another program? thx!

Software Development video visual-basic
Member Avatar for debasisdas
0
85
Member Avatar for Cosmocrazy

I don't think this qualifies as cheating on homework. I am making a Java applet that will input the name of a teacher at our school and output their schedule. When I say schedule, I mean the times they teach and what classes they teach, and where they teach them. …

Software Development client-server java
Member Avatar for Ezzaral
0
100
Member Avatar for vanias

Can anyone help me to do this !!! I want to download a file (for exaclty photo file) from a web page how i can do this through delphi?????

Software Development delphi pascal
Member Avatar for LizR
0
175
Member Avatar for dodol

Hai all, In delphi, how to make the program only one exe only on executing. example : I have a project tools after execute it appears tools.exe how to make the people can not execute tools.exe in the second time?? Only one exe can run.

Software Development delphi pascal
Member Avatar for LizR
0
183
Member Avatar for jetdreamer

hey guyz... i'm new here... i just want to know how i could end my program after a certain amount of time has passed by... I'm doing a "text twist" program where after 2.30minutes and if the user still has not guessed the correct answer, the program will end... i'm …

Software Development c++
Member Avatar for unbeatable0
0
210
Member Avatar for Aus89

I am getting a the warning "assignment from incompatible pointer type" when compiling my code, I have spent ages trying everything I can think of, but I am not very experienced at using C so it is probably something really simple that I just can't see. I have commented the …

Software Development c queue
Member Avatar for Salem
0
2K
Member Avatar for anny**

hi! to everyone i have to make a program in c++ about factorial but the main problem is that the working of factorial must me shown for eg. 4!=4*3*2*1 like this on the output screen i had done upto here.... [code=cplusplus] #include <stdio.h> #include <conio.h> int main() { long float …

Software Development c++
Member Avatar for sidatra79
0
262
Member Avatar for tatainti55

How can i run my program for a specific amount of time? And what is threading? I'm really new to C++ so i'd like n00b-friendly answers.

Software Development c c# c++
Member Avatar for Freaky_Chris
0
74
Member Avatar for porko2004

Ive been creating a Auto Patch system in C# Where if people connect to the server they get the latest patches if they dont have it. but ive got a program when auto patching only auto patches latest patch can anyone help me with this problem its meant to get …

Software Development client-server
Member Avatar for LizR
0
214
Member Avatar for Gary_nel

Hi Im new to the whole thing of programming and would like to write a C++ program to copy files from one drive to another, any help and suggestions on where to start? Any help with source code or pointers will be greatly appreciated. The OS the program is for …

Software Development c++
Member Avatar for dougy83
0
135
Member Avatar for c230jif

My instructions are to write a program that assigns a five-word phrase with a single space between words to a user-defined string variable. It then outputs each word of the phrase separately. It must use the phrase "This is a test phrase" in the output, but also function properly when …

Software Development c++
Member Avatar for Freaky_Chris
0
111
Member Avatar for Clipper34

Hey guys, well how would you go about making a GUI, i've seen examples with Tkinter. But how would you place the button exactly where you want them. Also would you set an event for a button or field for example if the button is clicked it connects to a …

Software Development gui python tkinter
Member Avatar for Stefano Mtangoo
0
103
Member Avatar for frank754

I'm really hoping someone can help me on this, I may have overlooked some info somewhere doing numerous searches in the past week, but what I'm trying to do is quite simple. I have a handheld inventory device (circa early 90's but still in prolific use in the industry) that …

Member Avatar for plumsauce
0
189

The End.