132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Awah Mohamed

hello guys , i want to earn c++ but i dont have it's compiler but i have c compiler so can i use it or i need c++ compiler and where can i get it

Software Development c++
Member Avatar for Ancient Dragon
0
232
Member Avatar for hg_fs2002

Hi,I want to ask how it is possible to read a file without printing newlines? I'm using getline() to read the strings but I want to print all the strings consecutively even if they've been seperated in the file with a new line.

Software Development c c# c++
Member Avatar for Ancient Dragon
0
94
Member Avatar for Don_k

Hey guys. I coded the following program below: but I have a problem... I think its perhaps the logic I have used is not too good... here it goes... The program below should: ask the user to enter a letter ('a' to 'z' or 'A' to 'Z') and outputs VOWEL …

Software Development c c# c++
Member Avatar for eilans_10
0
158
Member Avatar for enkidu75

I am new here and this is my first post so I'm sorry if anything in this post is done incorrectly. I have taken a C++ class but did not get into any object oriented parts of it (all linear). Now I am in an object oriented class which is …

Software Development c++ engineering oop
Member Avatar for Ancient Dragon
0
342
Member Avatar for jhai_salvador

Hello!.. I am a VB6 programmer and I want to learn basic of C# Programming. So can anyone help me out?.. I just want to learn on "How will I do this in Visual C#".. this is a sample code from VB6, now, how will I do this in C#? …

Software Development c# visual-basic
Member Avatar for jhai_salvador
0
118
Member Avatar for prashanth s j

Hi all, the init.xml file has among its lines, one line as `<guid>5934</guid>` init.xml ------------------- ------------------- <guid>5934</guid> ------------------- ------------------ I need to increment the guid every time I modify the file. Could any one please tell me how to do that. Regards, Prashanth

Software Development python xml
Member Avatar for jcao219
0
143
Member Avatar for chrizymikz

help me plssss...this is my last sem and i need help because we have a thesis and i need online system..can you help me in my title proposal???

Software Development visual-basic
Member Avatar for vb5prgrmr
0
110
Member Avatar for Archenemie

I have a little project im working on, and the fundamentals are fine, i just have two specific queries. I have learned the code shown here from scratch the past week from samples and tutorials plus a little outside the box thinking. My only problem now is that my two …

Software Development python
Member Avatar for Archenemie
0
99
Member Avatar for patrickm129

Hello, Can you help me... I am trying to make a vbs file that when you open it, it automaticly takes up the full screen. Do you know a code that will do this? -Thanks

Software Development visual-basic
Member Avatar for jhai_salvador
0
303
Member Avatar for anishnair

Friends , I am working with [B]windows application with C#[/B].As i am new to crystal reports am having a doubt. Iam displaying the report fom dataset by passing two parametes. After passing these two parametes i am binding the data into a dataset. The code is given below Dataset ds1=new …

Software Development dataset
Member Avatar for pritesh2010
0
137
Member Avatar for jiraiya

Hi everyone, I have a program that displays Chinese and Japanese characters. I've written the program inside Netbeans and it works fine. But when I use the program as an executable jar file, as built in the dist folder by Netbeans, the Chinese and Japanese characters are displayed as nonsense. …

Software Development display file-system gui ide java java-netbeans
Member Avatar for EnochEnglish
0
431
Member Avatar for creative9k

Sorry for the new questions... I've created this program to display a table . How could I write this code using while statements instead of for? [code]#include <iostream> using namespace std; int main() { for (int x = 1; x < 4; x++ ) { cout << x << " …

Software Development c++
Member Avatar for creative9k
0
146
Member Avatar for Hunter2379

Ok so i made a chat program that works on Lan. Now i want to make it work through the internet. I can get the internet ip address. Something like 99.144.21.93. SO in the socket i make the ip address of the server/client destination the 99.144.21.93. It doesn't work though.

Software Development client-server java
Member Avatar for NormR1
0
93
Member Avatar for Unas

Please help me try to figure this out. Keep getting this error, error C3861: 'intialbid': identifier not found Can't figure out how to fix it, here is my code, the program is not finished. [CODE] #include "stdafx.h" #include <iostream> using namespace std; #include "myfuncs.h" int main() { do { char …

Software Development c++
Member Avatar for Unas
0
160
Member Avatar for Excizted

Hello! :) I'm trying to achieve an 'engine' of a kind in a DLL project. I have successfully made a DLL that works, but as simple as Hello World. Now I'm coding a framework into the DLL project, but I'm having some trouble with the singleton function. Im getting this …

Software Development c++
Member Avatar for oktalist
0
197
Member Avatar for vbx_wx

Hello,i had to write a paper about data structutes implemented using STL,and I was wondering if anyone can answer this question for me for the conclusion of the paper: 1) What can i say about the results obtained with STL when implementin Data Structures 2)Future research about data tsructures using …

Software Development c++
Member Avatar for mrnutty
0
204
Member Avatar for VBNick

I just finished a small winsock program for sending files, but its soooooooooooooooooooooooooooooooooooooooooooooooooooooooo slooooowwwwwwwwwwwwwwwww:yawn: so I am hoping someone here may be able to offer me some advice. so far, the program works as follows: 1. User1 chooses a file and attempts to send it. 2. User2 chooses to accept …

Software Development c++ file-system
Member Avatar for VBNick
0
660
Member Avatar for XxPKMNxX

I have this program, when it starts, i am unable to press numbers. By pressing F this turns the numbers on. However, the result is, i have to hold down F to use the numbers. I thought declaring ignition as true would stick after i had released F. And pressing …

Software Development c++
Member Avatar for mrnutty
0
112
Member Avatar for mroberts

I need some help. I have figured out most of my script but I need to search a string and see if it starts with certain characters and Does not end in another. [$line1 = "EB*1**96" #should produce true value and blank line] [if ($line1 =~ /^EB\*/ and $line1 ne …

Software Development perl regex seo
Member Avatar for d5e5
0
95
Member Avatar for Awah Mohamed

hello guys , i need your help i dont know c# and i want to learn it but before that i want to know what i can do with c# so please guys tell me exactly what i can do with c# and can i create a full website with …

Software Development c#
Member Avatar for Lusiphur
0
86
Member Avatar for jiraiya

Hi all, I'm having a compilation problem relating to some Chinese and Japanese characters that I have hardcoded into a hash table. When I compile this code inside an IDE like Eclipse or Netbeans I get no warnings, but when I do it outside of the IDE I get the …

Software Development ide java java-netbeans
Member Avatar for jiraiya
0
126
Member Avatar for acrocephalus

Hello! I have just created a script (see it at the end of the message) to watermark images. If you want to, could you check it and suggest ways to improve it? Think of me as a very beginner ... Cheers! [CODE]#Import the required modules import os, shutil, fnmatch, Image, …

Software Development python
Member Avatar for acrocephalus
0
402
Member Avatar for Ims333

So, I'm attempting to make a program that searches online for a file, downloads it, then in the file that is downloaded has like something like this: [code=text] None Yet! (Sorry, but there is nothing yet!) [/code] Then on the right of the listbox there is a richtextbox that I …

Software Development file-system
Member Avatar for Lusiphur
0
98
Member Avatar for VBNick

I made a simple app to turn off a monitor. The entire program consists of just this: monoff.cpp [code] #include "windows.h" #define MON_OFF 0x2 int CALLBACK WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) { SendMessage(HWND_BROADCAST, WM_SYSCOMMAND, SC_MONITORPOWER, MON_OFF); return 0; } [/code] For some reason it still wont run …

Software Development c++
Member Avatar for VBNick
0
291
Member Avatar for Mr Programmer

In my form, there is 1 Button and 1 Label. There is no text in Label1 right now. I have coded the button: [CODE]Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Label1.Text = "1" End Sub End Class[/CODE] Now when i run the project, i click …

Software Development gui vb.net
Member Avatar for Mr Programmer
0
168
Member Avatar for wolfeater017

When I finally got the input to work in this code it stopped displaying the txt on the screen. Any suggestions on how to fix this. [code]import pygame, sys from pygame.locals import * import time mo = 0 # set up pygame pygame.init() # set up the window windowSurface = …

Software Development display pc-peripheral python
0
117
Member Avatar for guyfrompluto

Simple program to check whether a number is prime or not. Something is seriously wrong because every result I get is 'false'. Help me out please. Thanks in advance. [CODE] class primeTesting { public static void main(String[] args){ int i=7; //changing the value everytime always gives false.... ??? boolean bool=false; …

Software Development java
Member Avatar for guyfrompluto
0
118
Member Avatar for SashaC

I have two issues with my code: 1.When I run the code the components of the GUI are very large. I have attached a screen shot of what it looks like. I'm not sure how to change the size. I've tried using: nameOfButton.setSize(12,12); but that doesn't work. 2. I'm new …

Software Development file-system gui java java-swing
Member Avatar for JamesCherrill
0
180
Member Avatar for AngelicOne

What are this? I read this on some forums. It goes like this [CODE]da.InsertCommand = new SqlCommand ("insert into table values('')",con);[/CODE] a dataadapter calling an sql command? Could someone explain me this?

Software Development
Member Avatar for k.d.m
0
98
Member Avatar for dy/dx

hi its been 2 years since the last time i program in c and this is my first after 2 years. So i'm not that familiar anymore to the syntax in c(especially i'm already programming in java). So my problem is, i don't know if i did something syntactically wrong …

Software Development c
Member Avatar for gerard4143
0
166
Member Avatar for Leodumbi

Hi Guys I've been for the last 8 months studying and creating a project and finished - at least as long as I could :) - Now I have a BIG problem,I want to make the Executable "Package". for installation and ultimate test of what I've build Is there someone …

Software Development vb.net
Member Avatar for ajaygour
0
106
Member Avatar for nssltd

Sorry for the nooby question, but i've always wanted to make an instant messenger, I figured java was the best language as it is Multi platform and extremely portable. I wondered if their was any open source code i could look at to help me. Thanks

Software Development java open-source
Member Avatar for nssltd
0
173
Member Avatar for manjusaharan

Hi All, I m trying to access a file residing at c: drive from a remote computer by using RDC. bt it is showing exception if i m using FileInfo() method for opening it. help me in solving this problem. Thanx in advance.

Software Development
Member Avatar for mayer
0
219
Member Avatar for rakeshk_87

Hello I am new to C++ programming and i am trying to write a c++ class for a calculator. I am having trouble with my get_token function where i'm trying to read one character at a time and if the character represents a number , it should convert it into …

Software Development c++ os-x
Member Avatar for rakeshk_87
0
243
Member Avatar for AngelicOne

Is it allowed? What I mean is, if I have two queries? Like I need to read a dataset to populate a gridview and other than gridview, in one form.

Software Development dataset sql
Member Avatar for Lusiphur
0
82
Member Avatar for AngelicOne

I don't know what would be a good title for this but I'll just explain. I have two forms. When I run my login form, my main menu form will also visible but only behind my login form. Now, you might have some idea what i'm talking about? . My …

Software Development
Member Avatar for AngelicOne
0
346
Member Avatar for baddawg12

The goal of this program is to create a "bag" array and a function that will calculate the Fibonacci sequence. The "bag" array should be initialized to a size of 2 where the the elements in order are 0 and 1 respectively. For example: array[0] = 0 and array[1] = …

Software Development c
Member Avatar for baddawg12
0
177
Member Avatar for kunkunlol

Hey there, I'm trying to organize a file that contains the name of the player, and his score. ex: kunkunlol 473 marc 94 Susan 134 I have 2 functions, one to read the file (will show the top 10 players like above), and another to write on it (like above …

Software Development c++
Member Avatar for Excizted
0
105
Member Avatar for kubatur0

Hi there... I have the msgsnd code: [CODE](...) char *c1="./df"; if(!(df=(FILE*)popen(c1,"r"))){fprintf(stderr,"pipe1 problem");} s1.mtype=1; while(true){ time3=time(NULL); if((time3-time4)>3){ fgets(s1.mtext,1000,df); time4=time3; if(msgsnd(msqid,&s1,1000,msgflg)<0){fprintf(stderr,"sending1 problem\n"); perror("g");};} } } else if(pID1<0){ printf("failed to fork1\n");} else{ prid2 = nproc2();} return pID1; }[/CODE] and the msgrcv code [CODE]msgbuf rcv; while(true){ time1=time(NULL); if((time1-time2)>1){time2=time1; if(msgrcv(msqid,&rcv,1000,1,msgflg)<0){fprintf(stderr,"rcv problem");};printf("%d : %s\n",time1,rcv.mtext);}}} return pID3; …

Software Development c++
Member Avatar for wisaacs
0
518
Member Avatar for Ghost

Hi everybody: I want to make a java application, but I can't think of anything to make. Any ideas would be appreciated. Thanx, C++

Software Development java
Member Avatar for rolypoly2308
0
284
Member Avatar for Ryan.

Hello My program is supposed to "remove" odd indices from a linked list (with the index starting from 1, and the last address of the linked list being 0): The program should print out 13579, but it instead prints out 13268501024526850100872685009929. I know assembly is tedious as hell, but I …

Software Development assembly linked-list
Member Avatar for Ryan.
0
1K
Member Avatar for newbgal

Hi .. this is my first post here... i have been trying to solve this problem for two days ..but no luck.. here is my problemm... I am using win32.. I can able to get notified on new device insertion and removal using DBT_DEVTYP_DEVICEINTERFACE [CODE]if ( DBT_DEVICEARRIVAL == wParam || …

Software Development c++ windows-api
Member Avatar for wisaacs
0
164
Member Avatar for MrAlshahawy

Hi all , How can I send Service command in pys60 , I read it's available in S60 3rd Ed FP2 not in FP1 ,... So what does this mean ???? Is there a difference when I'm writing a code using python targeting FP2 devices or FP1 devices ?? If …

Software Development python
Member Avatar for Beat_Slayer
0
641
Member Avatar for thalz

somebody help me how to open connection postgresql with vb.net ..

Software Development postgresql vb.net
Member Avatar for finito
0
97
Member Avatar for Lukezzz

I am trying to Copy a Folder that consist of many files to another folder with a new Name. I know how to do with files but if I write: System::IO:: Directory:: I cant find any ::Copy Members here. Is it possible to Copy a folder "C:\\Folder1" and at the …

Software Development c++
Member Avatar for JuliaSh
0
4K
Member Avatar for asiyak

i m final year engg student,i need a mega project in java,plz suggest me some ideas.

Software Development java
Member Avatar for peter_budo
0
81
Member Avatar for litlemaster

[CODE]protected override void Dispose( bool disposing ) { if( disposing ) { if(components != null) { components.Dispose(); } } base.Dispose( disposing ); }[/CODE] I new nothing, what this code is doing in this project. I am familiarizing myself with am application to send and receive SMS from GSM modem. Meanwhile …

Software Development
Member Avatar for litlemaster
0
115
Member Avatar for Danksalot

I am using xCode on a Mac to write some c++ code. Any time I use cin >> the program compiles just fine, but when I run it something happens that I didn't expect. I enter what I want for input and hit the RETURN key, and it goes to …

Software Development c++
Member Avatar for Danksalot
0
930
Member Avatar for rakeshk_87

Hi i have a calculator progran which is shown below...i need to make this into a class calculator....i need some ideas to get started....like what should be the member functions, private data members etc..... [CODE]#include <iostream> #include <string> #include <map> #include <cctype> using namespace std; double number_value; string string_value; int …

Software Development c++
Member Avatar for rakeshk_87
0
134
Member Avatar for Marembo

Hi guys, I have been trying to use the mscomm32.ocx library in my project but to no avail. generally, i try to use the #import directive to import the library. However, i get some weired errors from non-project files viz: [code] #import "C:\\Documents and Settings\\Marembo\My Documents\\Visual Studio 2008\\Projects\\BlueTraxGI\\libraries\\mscomm32.ocx" //errors include …

Software Development c++ visual-studio
Member Avatar for Marembo
0
216

The End.