199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for anjoz

can you guys help me out i dont know any of the c++ functions and i dont know how to convert this tnx in advance [CODE]#include <iostream> #include <stdlib.h> #include <fstream> using namespace std; struct student { char fname[100]; char lname[100]; int id; float cgpa; }; int add( student * …

Member Avatar for Ancient Dragon
0
101
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

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.

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 …

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 …

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#? …

Member Avatar for jhai_salvador
0
118
Member Avatar for blessan

Hi folks, Im basically a php programmer. So im very new to asp and vbscript. I had a project to create something in php and asp. I was able to get it done in php but im struggling with asp. I need to create a array to send to an …

Member Avatar for ArtistScope
0
84
Member Avatar for ShadowScripter

Hi, Yesterday when I was testing my game out, written from scratch, my DirectX debugger suddenly started spewing out this error code after a couple of runs of the program. Now, this error appears just a couple of seconds after the program goes fullscreen and starts rendering some graphics and …

0
145
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

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???

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 …

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

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 …

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. …

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 << " …

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.

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 …

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 …

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 …

Member Avatar for mrnutty
0
204
Member Avatar for iWalletMobile

Is there a way to have an SMS authentication? Meaning a user puts there phone number it, they get sent an SMS message with a number, put the number in the website to verify the account. Any tutorials?

Member Avatar for iWalletMobile
0
174
Member Avatar for phphit

I am using Smarty for Template Engine. For one page, I want to display list of months in chronological order. The current month is July, so order should be July August September .. . . .. June. Any idea ?

Member Avatar for metalix
0
1K
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 …

Member Avatar for VBNick
0
660
Member Avatar for metalix

Hi there. I am looking to create a script in php that will get an image from an upload form and upload it to a site using ftp. It needs to save the original image in the site images/full/ and also create a proportional image thumbnail (100x100) in images/thumb/ What …

Member Avatar for edup_pt
0
211
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 …

Member Avatar for mrnutty
0
112
Member Avatar for drewpark88

Hey Guys, I know this is a known issue but I have had no luck with finding a fix for the issue I am getting with IE8. I get a nasty black border around my png that I am using the Jquery fade function. Does anyone have any useful hacks/tricks …

Member Avatar for drewpark88
0
126
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 …

Member Avatar for d5e5
0
95
Member Avatar for arkoenig

You are given a one-dimensional array of signed integers. Find the (contiguous) subarray with the largest sum. If none of the array elements are negative, the solution is obviously that the subarray is equal to the entire array, so the problem is interesting only if the integers are signed. There …

Member Avatar for 0x69
0
131
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 …

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 …

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, …

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 …

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 …

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 …

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 = …

0
117
Member Avatar for phplover

Hi, I have basically created two functions in a filed called functions.php . They are as follows: [CODE] # Form Token Hash Generator (must be declared after if statement) function GenerateFormTokenHash(){ $token = $_SESSION['token'] = md5(uniqid(mt_rand(), true)) ; return $token; } # Form Token Hash Validator function IsValidFormTokenHash(){ return $_POST['token'] …

Member Avatar for phplover
0
226
Member Avatar for SKANK!!!!!

now i know that there is a thing that "you cant stay logged inforever" but isnt there some sort of ultra cookie that doesnt get cleared when a user is clearing their cookies from their browsers? and when someone logs out of my site, i set the session to expired. …

Member Avatar for Excizted
0
982
Member Avatar for PomonaGrange

Hi All, I am trying to program a web based cash register/POS application. I would like to use a function to format the number in the "Amount Received" text box. The idea I have in mind is to always keep two decimal places at all times. For Example: if someone …

Member Avatar for fxm
0
3K
Member Avatar for hatrickwah

I'm in the process of working on a page that uses layers and iFrames in conjunction with javascript and <div> layers. The problem I'm hoping to solve with your help is that I implemented [CODE] onclick="this.className='stylesheetstyle'"[/CODE] in the <a href> tag and so therefore when users click the links, the …

Member Avatar for fxm
0
143
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; …

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 …

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?

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 …

Member Avatar for gerard4143
0
166
Member Avatar for srinivaskota

[I]Hi experts,[/I] [I]please help me,[/I] [B] In my WebApplication ,In vertical scrollbar scrolldown some position after the refreshing the page again scrollbar position goes to the top of the verticalscrollbar How to get back the scroll position after the refreshing the page[/B] [B]Thanks and Regards, Srinivas Kota.[/B]

Member Avatar for fxm
0
318
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 …

Member Avatar for ajaygour
0
106
Member Avatar for phphit

I need to know what should I do to show event time (stored in mysql) according viewer's local time. I have stored time in two format (one simple 12:30; and another in timestamp format). The timings are of future and stored as GMT. Now, I would like to show time …

Member Avatar for metalix
0
118
Member Avatar for Takkies

Hi all, I want to know if it possible to load different images into page every time the website is viewed? If so, please help. Thanks in advance

Member Avatar for Takkies
0
128
Member Avatar for keval_hack

Hi, Can any one tell me how to make secure php site or what is the key point for making secure website using php. -keval

Member Avatar for metalix
0
516
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

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.

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 …

Member Avatar for rakeshk_87
0
243

The End.