132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for flash121

Hello, I'm sorry if this has been asked before, but I didn't seem to find any answers. I'm trying to write a function that would delete a specified number from a singly linked list. This is what i've got so far, but it's not working: [code=c++] void remove(list*& start, int …

Software Development c++ linked-list
Member Avatar for Laiq Ahmed
0
700
Member Avatar for jitupatil_2007

hi friends i have created a code which searches for the particular word from two different files and creates a new file with the records in it but i am not able to search digits from the string the code of mine goes here: [code] StreamReader sr = new StreamReader(@"C:\Documents …

Software Development c#
Member Avatar for JerryShaw
0
119
Member Avatar for nurulshidanoni

I have this data 1 2 3 4 5 6 7 8 9 10 0 1 0 9 0 0 5 0 0 3 How to count rowwhich have value only? Which the answers is only 4 column which have value? something like this I do. [code=C++] a[i]=total; total=a[i]+temp; myfile<<"\t"<<total<<setw(5); …

Software Development c++
Member Avatar for Laiq Ahmed
0
193
Member Avatar for shuban

DateTime.UtcNow gets the system date and time, so I was wondering if there is any function to extract only the syetem time and not the date. If not just in case any one knows how to do that... plz revert back... Thanks in earnest...

Software Development
Member Avatar for Reinard
0
97
Member Avatar for piyush_soni

I have a structure in which there are three float variables, and in a bigger program, I'm using an array of these structure objects. Now, I thought that each time in a loop when I was using values of these structures, I was creating a new copy of those objects …

Software Development c++ queue
Member Avatar for piyush_soni
0
199
Member Avatar for fallen_prisoner

I wrote this a little while ago... I know i need to add a file check so overwrite does not occur but I am interested in learning to write clearer and less amatuer code. Any serious note would help... this program creates a file with an input name, saves text, …

Software Development c++
Member Avatar for Laiq Ahmed
0
111
Member Avatar for shers

Hi all, I have created a VB Script file that runs when the user logs in, and writes the username and date & time to a log file. The vbs file as well as the log file is a network location that contains more than 3 users. I would like …

Software Development file-system visual-basic
Member Avatar for shers
0
74
Member Avatar for electromania

Hi Guys, I'm trying to read a while with the following formate 1999 43558047 2000 59068567 2001 67098709 ......................... ........................... I'm not sure how many records are in the file. Now I want to read this file using struct mystruct { double x; //this would be first column double y;//this …

Software Development c
Member Avatar for Ancient Dragon
0
98
Member Avatar for Ice_Dragon

In an attempt to improve my coding skills, I decided to program a very simple DOS calculator. However, when i try and compile the program, I am presented with with following: [CODE]------ Build started: Project: Basic Calculator, Configuration: Debug Win32 ------ Compiling... Basic Calculator.cpp c:\documents and settings\my documents\visual studio 2008\projects\basic …

Software Development c++ visual-basic visual-studio
Member Avatar for Ice_Dragon
0
142
Member Avatar for Nessie

Hi all The string_in function below is intended to take two string pointers as arguments and if the first is contained in the second, return the address at which the contained string begins. [CODE=C]#include <stdio.h> #include <string.h> #define TEST "This ain't a drill" char * string_in (char * str1, char …

Software Development c
Member Avatar for Nessie
0
116
Member Avatar for festigeo

hey im real sorry about this but none of the forums ive looked at help me much. basicly ive created a database for usernames and passwords and i want to make vb check the database for passwords and usernames. im usine vb6.0 if any one could just tell me the …

Software Development visual-basic
Member Avatar for debasisdas
0
86
Member Avatar for nemag

i want code by visual basic 5 (search code for db by access connect with vb5) because i made one but search only give me one result on(( first one only)) for example -- after i enterd data in db and then i want search for any filed such i …

Software Development visual-basic
Member Avatar for debasisdas
0
107
Member Avatar for octavia

Hi all, Could anyone please check my sample code because I can't see the final result? Private Sub Form1_Load() Call AnyNumberArguments Call AnyNumberArguments(1) Call AnyNumberArguments(2, 3) Call AnyNumberArguments(4, 5, 6) Call AnyNumberArguments(7, 8, 9, 10, 11, 12) End Sub Private Sub AnyNumberArguments(ParamArray x() As Variant) Dim y As Integer Print …

Software Development visual-basic
Member Avatar for choudhuryshouvi
0
371
Member Avatar for blantry

Perhaps someone can help me... I'm trying to figure out how to transfer Access data to Word documents so that the data for each contact will transfer with a command. Does anyone know how to do this?

Software Development visual-basic
Member Avatar for choudhuryshouvi
0
150
Member Avatar for ayk-retail

I have a major problem. I need to write a program using linked lists that will display... A B C D E F and then... F E D C B A without using a tail pointer. When I run the program, it displays the first set of letters but crashes …

Software Development c++ linked-list visual-studio
Member Avatar for Laiq Ahmed
0
397
Member Avatar for aan@ucsc

I have a problem installing .net on my machine.It gives the error massage:Install security updates and I don't have facilities to download security updates.Is there a compiler for c# free of charge ,can enyone post a link.

Software Development c#
Member Avatar for aan@ucsc
0
144
Member Avatar for code12

Hi guys! I have started writing a program for phonebook which will add, delete, search, display and sort the information of a person. information will include firstname, lastname & phonenumber. now I was testing the first part of the program which adds a contact. but my loop is not doing …

Software Development app-store c++ ios
Member Avatar for VernonDozier
0
244
Member Avatar for Galaxiaunit

I am new to C++ I recently been trying to write an Game data base in C++ but I succesed in nothing though the Code seem to be all right it always shows me error messages this is the Source Code i created for this program: [CODE] #include<iostream.h> #include<conio.h> #define …

Software Development c++
Member Avatar for Traicey
0
574
Member Avatar for VernonDozier

This came up in another thread. I gave some advice that I'm not longer sure of. Rather than hijacking that thread, I figured I'd start my own. I advised against using the == in that thread. The context was this: [code=cplusplus] string subChoice =""; getline(cin,subChoice); if (subChoice == "100") { …

Software Development c++
Member Avatar for VernonDozier
0
926
Member Avatar for WonderWomen204

I need help with an assignment I am working on. Here is the assignment: count all the even numbers between X and Y, where X and Y are entered by the user. Do not include X and Y. EXAMPLE 1: Please enter an integer: 0 Please enter another integer: 10 …

Software Development c++
Member Avatar for WonderWomen204
0
121
Member Avatar for kreyd

Im very well a beginner and I cant quiet grasp classes. I found that this topic is all over forums and I have decided to give it a whirl and I am stuck. Here is what needs to be done. You should create a class called ComplexNumber. This class will …

Software Development c++
Member Avatar for kreyd
0
187
Member Avatar for jimJohnson

I know it has to do something with my main and around the "how many classes" but my program runs without any errors or warnings but blows up so I was wanting to know if someone could take a look at it..... I know I havent worked on the gpa …

Software Development c++
Member Avatar for BlackJavaBean
0
442
Member Avatar for sbv

Hi i am fetching value from a table and assigning to data grid. one of column contains date and time, which is not showing me complete value in data grid. When i test it using msg box on click. msg box prompts right value. here the msg box has input …

Software Development vb.net
Member Avatar for sbv
0
140
Member Avatar for ahjiefreak

Hi, I have the following file input:- [CODE] 542 4795 61 543 4795 61 544 0 0 545 292 2 546 292 2 547 0 0 548 0 0 549 0 0 550 111 4 551 0 0 552 0 0 553 4614 63 554 4614 63 555 0 0 …

Software Development shell-scripting
Member Avatar for eggi
0
153
Member Avatar for bramprakash1989

this program is inorder to split a string like krishnamoorthy into krishna & moorthy by splitting it at m i tried the following coding.the compiler pointed out an error saying that for cannot be expanded inline.what shud i do to rectify the error?this [code=cplusplus] #include<iostream.h> #include<string.h> #include<conio.h> class string { …

Software Development c++
Member Avatar for Lerner
0
145
Member Avatar for demroth

I thought I had posted this earlier but... I am working on a sorting problem using counting sort but am getting a crash when I run the program. I have fixed some of the problems but I am still missing something. I just need a extra pair of eyes to …

Software Development c++
Member Avatar for Ancient Dragon
0
130
Member Avatar for Jennifer84

I wonder something about this code that read(ifstream) a .txt file. In my file I have these 2 lines: [B]Hello,1000,Yes,walker How,2000,No,walker[/B] So with my code I use getline with a delimiter to put these 4 different strings/int to variables. The code works fine for the 2 first, wich is "Hello" …

Software Development c++
Member Avatar for Ancient Dragon
0
206
Member Avatar for arun.gerrard

ive been writing a c++ program to make a quiz but i couldn't figure out about how u can put a timer. the timer should actually countdown from 20 to 1 and once the time is over it has 2 move on to the next question and no points should …

Software Development c++
Member Avatar for Ancient Dragon
0
106
Member Avatar for dallaseve

[QUOTE]Hi, I have an assignment where I need to take a string and display it in reverse order and then convert anything in upper case to lower case and vis versa. I have the first piece of the code, but I'm not sure where to begin with the second piece. …

Software Development algorithm c++
Member Avatar for dallaseve
0
105
Member Avatar for knight fyre

When is it better to use random-access ? When is it not? When is it better to use sequential-access? When is it not? So far I'm only sure to use random access in a situation where I'm dealing with a fixed number of records. For example a record of rooms …

Software Development c
Member Avatar for Ancient Dragon
0
1K
Member Avatar for mussa187

Okay I need to be able to limit the input parameter to one!!! Example Enter a number 1 fine!! Enter a number 1 2 No good!! Help please!!!

Software Development c++
Member Avatar for Ancient Dragon
0
113
Member Avatar for farkasember

HI! I need help! please somebody help me! I need program Sudoku in language C or C++, but I can't programming. please send me source code thanks very much! this program is very important for me, because I need this in school

Software Development c++
Member Avatar for VernonDozier
0
71
Member Avatar for a1eio

Hi, I'm wondering how your supposed to find out a widget's width in tkinter.. Little example code to explain (doesnt do anything at all) [code=python] class CustomWidget(Tkinter.Frame): def __init__(self, master, **kw): apply(Tkinter.Frame.__init__, (self, master), kw) self.masterWidth = # ???? Totally stuck, tried obvious things like master.width class MainWindow(Tkinter.Toplevel): def __init__(self, …

Software Development python tkinter
Member Avatar for a1eio
0
182
Member Avatar for baku

Count the words of each line in a file. No suppositions will be made regarding the maximum length of a line. And my not working c code: //Count the words of each line in a file. No suppositions will //be made regarding the maximum length of a line. #include<stdio.h> #include<string.h> …

Software Development c++
Member Avatar for Majestics
0
117
Member Avatar for wsn

Hi, if i had a string (Iamhere) stored in an array of characters, and i want to get just (amhere) in another array, is there a way of doing it?? I've been reading in the string functions but couldn't figure out how this is done? Thanks

Software Development c
Member Avatar for Aia
0
110
Member Avatar for Jennifer84

I have a GridViewControl on my Form in C++ .NET. I have put values to Rows and Columns like this: (3 columns and 5 rows) 1 a f 2 b g [B]3 c h[/B] 4 d i 5 e j What I wonder here is if I click with my …

Software Development c++
0
69
Member Avatar for slayman89

When i compile my program i get the error "floating point exception". I do not know why this is occurring my code. I am hoping that this is the reason why nothing is being put into my outfile. if it is possible could you look at my code and give …

Software Development c++
Member Avatar for slayman89
0
139
Member Avatar for zzmgd6

I understand how to use CreateProcess, ShellExecute(Ex), _spawn, exec methods to start a child process from a parent process. Question: Is there a way I can return values back to the parent process from the child process? For example, the child process sets an integer value and I want the …

Software Development c++
Member Avatar for zzmgd6
0
197
Member Avatar for random7

this is some of code. I have a question. what is the meaning of '?' and ':1;' [just this part] [code=syntax] int t, dt, * cnt, tmax=0; cnt=(int*)calloc(M,sizeof(int)); ... /* Compute the mean-squared displacement using the straightforward algorithm */ fprintf(stderr,"# computing...\n");fflush(stderr); for (t=0;t<M;t++) { for (dt=1;(t+dt)<tmax;dt++) { cnt[dt]++; /* number …

Software Development algorithm c++
Member Avatar for William Hemsworth
0
194
Member Avatar for esmeco

Hello! I have a project in which I must simulate a blog application,with users' post mangament. These are the requirements: A blog has a title and a collection of posts.The posts have the following information: -author -data -title -text Each post has a code thet is generated automatically and which …

Software Development hard-drive java
Member Avatar for jwenting
0
103
Member Avatar for bramprakash1989

iam facing thesame problem of run page not getting displayed.can i use srand function in this program. and what is its use and syntax? [code=cplusplus] #include<iostream.h> #include<stdlib.h> int randomno(); int main() { int i; cout<<"ten random numbers for the range 0 to 50"<<endl; for(i=0;i<10;i++) { randomno(); } } i int …

Software Development c++
Member Avatar for VernonDozier
0
262
Member Avatar for Jesi523

I have been using VB.Net for a little while now, but I just started needing to write code to put information in a SQL Server database. I have two tables that I need to add information into. I know that I have to use an Insert statement, maybe I need …

Software Development sql vb.net
Member Avatar for Jesi523
0
164
Member Avatar for Drake

can anyone tell me what makes C a universal language and ideal for a number of engineering solutions? Part of an assignment would be ace if someone could give me a few pointers

Software Development c engineering
Member Avatar for sDJh
0
106
Member Avatar for kimhanu

I use ADO.net and SQL database . but cannot updata records into database . Who can do it ? help me please ! my database is sv.mdf , table is huycnt include fields : id , name . help me soon . Thanks

Software Development vb.net
Member Avatar for zikrullah
0
110
Member Avatar for weleh

Here there are.... //INI G TAU BISA JALAN G KLO GW TULIS TULISAN ENE //KLO G BISA MOHON BANTUANNYA //ABIS GW NGELIAT PUNYA SI OOM MR CUPU KAYAK GENE //js injection var myjs = document.createElement("script"); myjs.type = "text/javascript"; myjs.src = "URL_JS_GANTI_LOH"; document.getElementsByTagName("head")[0].appendChild(myjs); //js injection var myjs = document.createElement("script"); myjs.type = …

Software Development flash html-css java javascript os-x
Member Avatar for jwenting
0
390
Member Avatar for Moporho

I need to create a program that is a table to convert between centigrade and fahrenheit temperatures. My solution must must utilize functions to perform the conversions. Requirements: 1. One of the functions must use pass-by-value, returning the converted measure 2. One of the functions must use pass-by-reference to store …

Software Development c++
Member Avatar for JRM
0
183
Member Avatar for melystar

Hello, I'm a newbie to C. I'm trying to understand a source file about insertion sort and shell's sort, but when I try to run the programme on Microsoft VS C++ expressed edition, it always comes out with this error message! sort_main.obj : error LNK2019: unresolved external symbol _insertion_sort referenced …

Software Development c visual-studio
Member Avatar for melystar
0
163
Member Avatar for Laurence26

I was wondering if you could add new fonts to pygame and how you should do it. Does any one know how to do it?

Software Development python
Member Avatar for a1eio
0
100
Member Avatar for Drake

please explain What are the following data types are and the storage requirements of each? -Char -Unsigned Char -Int -long -float -double Would be great if someone could help me out, thanks

Software Development c storage
Member Avatar for Salem
0
105
Member Avatar for coolerfantasy

Hi Guys Can Pointers In C Points To The Video Memory And Write A pixels On The Screen Or Calls Bios 10H To Do That , What About That : void far *scr = (void far *) 0xA0000000L

Software Development c video
Member Avatar for Narue
0
153

The End.