132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Zvjezdan23
Member Avatar for pooran.c

guys help me in implementing "doubly linked list and circular linked lisct in c" . I know the logic but i am finding difficult to code.

Software Development c linked-list
Member Avatar for Ezzaral
0
129
Member Avatar for Translucentbill

So I have started learning Java for my senior project at school and I would really like to make a tower defense game as my project. I have been looking for tutorials that would help but I am having trouble finding some. I have been using [url]www.javacoffeebreak.com[/url] and I've been …

Software Development flash java
Member Avatar for jon.kiparsky
0
3K
Member Avatar for justin3085

I have an app put together that reads from a text file using streamreader. I have it coded, maybe not the best but it returns only the first line in the text file. I'm trying to get it to select a random line each time a button is pressed. [CODE] …

Software Development display
Member Avatar for justin3085
0
421
Member Avatar for jas2010

hi my friends I developing shop program and want my software can read price from POS device , i dont have information about POS please help me

Software Development c#
Member Avatar for Ketsuekiame
0
129
Member Avatar for Fjolsvidr

I just wrote a little console app using the Visual C++ 2010 Express. But it doesn't run on other computers. I did a little research but it says I have to install redistributable package on the other pc, isn't there any other way to run the simple application?

Software Development c++
Member Avatar for Fjolsvidr
0
125
Member Avatar for SolidSora

I'm working on a seat diagram program, and it's not reading the input how it should. Also when the user enters a seat it should change the letter to an X. The program isn't reading the input correctly. When I tell the program to print the seat the user picked, …

Software Development c++
Member Avatar for SolidSora
0
174
Member Avatar for axes2t2

Hello, I am using a code to generate an id for a table.But it is giving 'Conversion from type dbnull to type integer is not valid' exception. Now I know that this is due to the table being an empty set.But it works properly if there is already a row …

Software Development mysql vb.net visual-studio
Member Avatar for axes2t2
0
2K
Member Avatar for kevinyu

Hello people, I need some help regarding the insertion/deletion of data in the middle node. My problem is, if you insert a node on the middle, the existing middle node gets replaced (the nodes between the inserted node in the middle should only move left and right). And when I …

Software Development c++
Member Avatar for Fbody
0
150
Member Avatar for Monkeeboy

Hello, i'm justarting out with OOP with Java and i'm looking for a bit of help with a bit of code as i can't quite work out why it wont work as i'm still learning. Here's what im being asked to do [I]write a public method called requestPositionsAndMove() which takes …

Software Development java oop
Member Avatar for Monkeeboy
0
176
Member Avatar for AaronLLF

Nevermind... fixed it right after posting. Epic. Fail.

Software Development java
Member Avatar for Akill10
0
182
Member Avatar for vbx_wx

[code] class A: def __init__(self): print 'A()' class B(A): def __init__(self): A.__init__(self) print 'B()' class C(B): def __init__(self): B.__init__(self) print 'C()' c = C() [/code] Cans omeone help me explaining what am I doing wrong here? I`m getting an error like: [code] B.__init__() TypeError: unbound method __init__() must be called …

Software Development python
Member Avatar for vbx_wx
0
131
Member Avatar for dip7

Hi, I am have written a program in C but using Dev-C++ to run it. I have compiled my source code in c. however, my output window does not stay. I tried adding system(“PAUSE”); before return 0, but it does not work. My program has both return 1 and return …

Software Development c c++
Member Avatar for Ancient Dragon
0
95
Member Avatar for afaque01

Hello! friends.... Well this is not included in the project iam making .. but iwas thinking to decorate my project with some of these... Well i was thinking of making a picture box with image which will show it automatically i mean select image automatically in the described folder.. n …

Software Development asp.net vb.net
Member Avatar for afaque01
0
183
Member Avatar for coroll

Hi, Can enyone helpsme.Im new to C#. i gt this error. Embedded statement cannot be a declaration or labeled statement My code is [CODE] foreach (Form form in Application.OpenForms){ if (form is productResults) productResults pr =(productResults)form; } [/CODE] PLZ...help me.

Software Development
Member Avatar for kvprajapati
0
977
Member Avatar for cbsinc

I need some pay for play tutoring. I have a jammed schedule and don't want someone to do my work for me, but need direct and timely answers to questions, immediately. I don't have time to trial and error, or tough love learning. I take good notes, learn fast, and …

Software Development c c# c++
Member Avatar for Ancient Dragon
0
101
Member Avatar for PM312

How can i trigger Leave Cell event for Msflexgrid through command button click or textbox lost focus.

Software Development visual-basic
Member Avatar for AndreRet
0
1K
Member Avatar for NitendraTRIC

i m creating one project in vb.net i m taking database msaccess. i m able to insert update delete when i m taking single table.but i m facing problem with multiple tables which is related to each other how to define the relationship between tables in dataset and how to …

Software Development dataset vb.net
Member Avatar for prvnkmr194
0
185
Member Avatar for jogieglenmait

my problem is so simple guys, how do i make [B]3 textboxes[/B] connect to a database of users using [B]adodc in a different form?[/B] [B]so that if you entered your userid, username and password you could log in.[/B] i cant post my code now but ill try later on.

Software Development visual-basic
Member Avatar for panchong
0
1K
Member Avatar for MichellePV

I completed a form for my supervisor using VB via Microsoft Word. It worked beautifully on my end...I could fill it out, save it, etc. I password-protected the document and only allowed people access to fill-in the form, which consists of drop-down menurs and text boxes. However, when another user …

Software Development microsoft-access visual-basic
Member Avatar for AndreRet
0
160
Member Avatar for daniwaber

Hi:) How can I scroll the report in runtime by mousewheel. I am using VB6 (SP6) and for reports I am using VB report control.

Software Development visual-basic
Member Avatar for AndreRet
0
286
Member Avatar for MichaelSammels

Does anyone know how to read the contents of a binary file into a static struct array, that can then be searched like a normal array?

Software Development c
Member Avatar for Adak
0
174
Member Avatar for martin11ph

I have an IP camera that feeds video over lan or the internet thru a browser. It has its own interface on either Mozilla, IE or other browsers. I tried calling the site using the Microsoft Internet Controls component and it works fine. The GUI is called upon and I …

Software Development lan-wan visual-basic web-browser
Member Avatar for AndreRet
0
904
Member Avatar for tim8w

This is such a basic question, I'm almost embarassed to ask it. How do I loop through seleted rows in a DataGridView and remove the rows? I've tried this, but it doesn't work. After one row is removed, the index is all screwed up... [CODE] iIndex = dgvRecipe.Rows.GetNextRow(-1, DataGridViewElementStates.Selected) While …

Software Development vb.net
Member Avatar for bhagawatshinde
0
172
Member Avatar for Leodumbi

Hello! I'm still on my long run of selfteaching... My current problem is this: I have a form and I have in it three textboxes, 1 button and 1 datagridview; I also have an access database. I can retrieve the data from the dtabase and add it to the datagridview. …

Software Development vb.net
Member Avatar for Leodumbi
0
742
Member Avatar for BimBam

Hi guys :) I'm currently trying to do something I don't have any experience with, and I did not really understand what ixQuick found for me .. So I try here, hoping someone shouts 'oh, done this million times, it's a piece of cake' ;) So, I'm using Visual Studio …

Software Development c++ visual-studio
Member Avatar for BimBam
0
94
Member Avatar for Ketsuekiame

A while ago, I had a piece of XML you put in the application config file which made .net write all exceptions and traces into a log file, without any modifications to the code. (i.e. I didn't have any trace listeners or manual log files) I cannot for the life …

Software Development xml
Member Avatar for Ketsuekiame
0
103
Member Avatar for elsiekins

Before people go why would i want to create an array of size 0 - this is due to writing a test program. at the moment i have two diffeent ways of doing - not sure which one is even slightly correct 1.[CODE]uint8_t * BufferB = new uint8_t[0]; uint8_t* p; …

Software Development c++
Member Avatar for elsiekins
0
422
Member Avatar for tendaimare

I am using this code to to generate a crystal report from aa sql string that i construct using a supplied table name and some column names in txtSQL.This code contains functionality to export to ms word.However when the save dialog comes up and the user enters the intended filename.and …

Software Development vb.net
Member Avatar for tendaimare
0
143
Member Avatar for TomaCukor

hello my question would be if som1 can help out with a better prototype than i have for verifying if input is within ascii alphabetic range what i have now [CODE]int betu (char s[]){ int i, jo=0; for(i=0;i<strlen(s);++i) { if(!isalpha (s[i]) && s[i]!=' ' ) return 0; else ++jo; } …

Software Development c
Member Avatar for WaltP
0
133
Member Avatar for vineeshvs

[code] #include <stdio.h> #include<stdlib.h> int **matrix_mul(int **m1,int **m,int a,int b,int c,int d); main() { int i,j,r1,r2,c1,c2,**p,**q; printf("Enter the number of rows and columns of first matrix :\t"); scanf("%d%d",&r1,&c1); printf("Enter the number of rows and columns of second matrix :\t"); scanf("%d%d",&r2,&c2); //memory allocation for m1 int **m1; m1 = malloc(r1 * …

Member Avatar for vineeshvs
0
159
Member Avatar for bhagawatshinde

Hi, I am developing an windows application in vb.net. in this project i want to set the Richtextbox height according to the content in that richtextbox. For this i want to call the Richtextbox textchanged event on button click Here is my code but i got error on button click …

Software Development vb.net
Member Avatar for bhagawatshinde
0
401
Member Avatar for NewOrder

Hi, here is a class with the methods that i have created: [CODE]class BlackCheckAlgorithm { bool checkCheckMeh; string checkOrpiece; bool checkOrPiece; string chessPiece; bool checkSafe; int kingRow; int kingColumn; int blackkingRow; int blackkingColumn; bool dynamicCheckBlack; int whitekingRow; int whitekingColumn; bool dynamicCheckWhite; bool mate; int kingRow2; int kingColumn2; bool pieceDoesntCollideKing; bool …

Software Development
Member Avatar for NewOrder
0
166
Member Avatar for MasterGberry

I have spent all of yesterday and this morning trying to think of how to do this, and I am still stuck. I don't understand how I can take a std::vector<char> (bytes) and extract values from it by combining the bytes. I have read everything that people have posted but …

Software Development c++
Member Avatar for MasterGberry
0
214
Member Avatar for rssk

hi all........ file1 99 root S 5176 95 [B]41.2[/B] 8.3 snmpd file2 99 root S 5176 95 [B]1.0 [/B] 8.3 snmpd i want to caluculate difference between two files fifth column(i.e bolded columns as mentioned above).. thanks in advance...:'(:)

Software Development python
Member Avatar for snippsat
0
193
Member Avatar for teoh

[CODE]class StudentMarks { public: int Marks; StudentMarks(); StudentMarks(int iMarks); char grade(); }; #include"grade.h" #include<iostream> using namespace std; StudentMarks::StudentMarks(int) { int iMarks=0; } /*StudentMark::StudentMark(int iStudentNewmark) { iStudentmark=iStudentNewmark;*/ char StudentMarks::getgrade() { if(iMarks>=80 && iMarks<=100) { return 'A'; } else if(iMarks>=75 && iMarks<80) { return 'A-'; } else if(iMarks>=70 && iMarks<75) { return …

Software Development c++
Member Avatar for Clinton Portis
0
134
Member Avatar for iwanttolearnc

im trying my hand at reading data via serial communications on a windows 32bit computer. ive accomplished this, extremely crudely and have to some degree been successful. the device i am trying to read sends data in the format $A.B.C$ followed by a '\n' or newline. using the code written …

Software Development c
Member Avatar for Adak
0
214
Member Avatar for bhagawatshinde

Hi, how i can find the last element of arraylist.

Software Development
Member Avatar for bhagawatshinde
0
91
Member Avatar for rusl07cl08

Write a program that asks for your age in years, months, and days and writes out your age in seconds. Do this by calculating the number of total days you have been alive, then multiply this by the number of hours per day (24), the number of minutes per hour …

Software Development java
Member Avatar for rusl07cl08
0
1K
Member Avatar for hitler1331

I'm running ubuntu on x86_32...and I keep getting segmentation fault while running this program. [CODE] #include<stdio.h> #include<stddef.h> char *memcp(char *dest, const char *src, size_t n) { char *dp = dest; const char *sp = src; while(n--) *dp++ = *sp++; return dest; } int main() { char *s = "abcde"; char …

Software Development c ubuntu
Member Avatar for Ancient Dragon
0
75
Member Avatar for DanielWuVB

which programming tool will be better if I need to write the POS system ? Thanks guy ..

Software Development c++
Member Avatar for johnpitter
0
116
Member Avatar for devin1pm

First of all, Im not too good at c++. so please take it easy on me. I try to change the password but i only want to change a certain password in the text file.But when the text file got re-write like only one new password exits. the whole file …

Software Development c c# c++ file-system ios
Member Avatar for JSPMA1988
0
668
Member Avatar for Nandomo

Okay, I was given a picture in bitmap format and a very brief explanation on seekp and seekg. And was told to write a program. I am supposed to make overwrite the image as its own negative and output in binary. I don't know where to even start, I know …

Software Development c++ image ios
Member Avatar for Nandomo
0
132
Member Avatar for pseudorandom21

Using C++/CLI-- Is there a good way to return a value (not a DialogResult) from a form shown as a dialog? I plan to use Invoke on a method to update the previous form from within the dialog, if not. I also would like to thank the fine members of …

Software Development c c# c++
Member Avatar for Ancient Dragon
0
336
Member Avatar for Mayank23

how can i display all the account numbers that have been entered. it only shows the last account number entered, not any before it. heres the code- [code] #include <iostream> using namespace std; int main() { double deposit; double previous; double newtotal; double withdraw; int total; int number; int res; …

Software Development c++ programming-construct
Member Avatar for Mayank23
0
189
Member Avatar for valeriy_zf

How to start using the GNU Octave libraries for Visual C++? I've read carefully the site but couldn't find any info how to start working with it in details. Especially I'm interested in this example: [url]http://www.gnu.org/software/octave/doc/interpreter/Nonlinear-Equations.html[/url] Starting from words: "Here is a complete example..." I wanna see this in C++ …

Software Development c++
Member Avatar for Manlin86
0
3K
Member Avatar for Joey_Brown

Hello So I have a simple structure : [CODE] struct students { char name[30]; unsigned int noofcourses; char course[50]; char status[30]; }arr[50]; //50 students [/CODE] I would like to know is how could I read multiple courses in per student from memory.[CODE]Example: Joey Brown 4 Math$Chem$Phy$Cooking Enrolled m8!! [/CODE] So …

Software Development c c# c++ data-structure
Member Avatar for Adak
0
175
Member Avatar for tacker

I'm writing a simulation in population genetics and am having a problem setting up the initial population. The problem boils down to this... [CODE]int test[1][1][1]; test[0][0][1]=1; test[1][0][0]=2; printf("test: %d\n",test[0][0][1]);[/CODE] Why does this print 2? I feel like it should print 1. I've searched forums for an answer, but haven't been …

Software Development c
Member Avatar for tacker
0
237
Member Avatar for namelyia

hi.. i'm new here i try to do bingo program in separated file but my class name is not declare.. i search on internet on how to solve it but still gives me error can some one help me??? [CODE]#ifndef BINGO_H #define BINGO_H #include<iostream> #include<stdlib.h> #include <time.h> #include <string.h> using …

Software Development c++
Member Avatar for namelyia
0
268
Member Avatar for atticusr5

Hello out there, I am trying to compile some simple code but am running into a weird error that I can not figure out terminate called after throwing an instance of 'std::ios_base::failure' what(): basic_ios::clear Aborted This is happening when I do an Infile>> read in the code below. What I …

Software Development c++ ios
Member Avatar for Fbody
0
5K

The End.