Posts
 
Reputation
Joined
Last Seen
Ranked #1K
Strength to Increase Rep
+6
Strength to Decrease Rep
-1
70% Quality Score
Upvotes Received
31
Posts with Upvotes
29
Upvoting Members
26
Downvotes Received
15
Posts with Downvotes
13
Downvoting Members
10
13 Commented Posts
7 Endorsements
Ranked #275
Ranked #305
~74.5K People Reached
Favorite Tags
c++ x 137
php x 36
c x 26
Member Avatar for hamad.yasin.1

Dears I have windows 7 home premium on my computer wich has is 32- bit operating system & 2G memory but it runs very very slow it takes 30 second to open any window i cant figure out what is the problem the hard drive have 60% free space, thanks …

Member Avatar for backbash
0
474
Member Avatar for np complete

So I was writing a program that would take a string from clipboard, do some stuff and put the new string back to clipboard. My code so far is posted below. The problem is I want my program to wait for me until I 'ctrl+C' something. I know that `GetClipboardData()` …

Member Avatar for BobS0327
0
243
Member Avatar for josh2006k

I am trying to build a code that outputs user input a certain way. I need to take user input to store 10 statistics for 3 players over 2 games, and then have the code ask the user which player they would like to see. Instead of showing the stats …

Member Avatar for josh2006k
0
244
Member Avatar for Joshua_2

Hi, Where should I get the information to start learning about artificial intelligence? For example, last year's Google Science Fair winner did a project on artificial intelligence, and she mentioned in her interview that she heard about it, bought a programming book with no prior experience, and continued from there. …

Member Avatar for tasara
0
204
Member Avatar for Violet_82

Chaps, I have run into some strange behaviour never seen it before, and it is really giving me a huge headache. I wonder if anybody can help me to understand why this is happening. Here is the link: http://antobbo.webspace.virginmedia.com/various_tests/floatProblem/test.htm Look at the squares labelled 1,2,3,4 inside the red div. They …

Member Avatar for BMXDad
0
152
Member Avatar for tanatos.daniel

I have the following structure: CObject { protected: char *mName; public: CObject(char *n) { mName=strdup(n); } }; CVector:public CObject { char *mValues[50]; int mElements; public: CVector(char *n):CObject(n) {} }; CMatrix:public CObject { char *mValues[50][50]; int mLines; int mColumns; public: CMatrix(char *n):CObject(n) {} }; My main function: int main() { pV=new …

Member Avatar for deceptikon
0
380
Member Avatar for tanatos.daniel

I have an abstract class CArticle and two derived classes CBook and CMagazine. I also have a class CLibrary where i want to add articles. Its members are an int variable to count the articles and a double pointer of CArticle. I have the following main function: int main() { …

Member Avatar for tanatos.daniel
0
444
Member Avatar for Hamza_4

Hello everyone, I am new to programming and I was wondering if anyone could help me out. I have hundreds of CSV files in a folder that I need to edit and resave. Can anyone give me a bit of code to start me off properly?

Member Avatar for Hamza_4
0
378
Member Avatar for senergy

I've googled for a while and found few things (I hate using external libs such as cURL) and I don't really have experience with HTTP, so the question is: how can I interact with websites using sockets? so something like this: 1. I connect to the website 2. I store …

Member Avatar for senergy
0
356
Member Avatar for fsusem1nolez

Greetings, this is my first time posting here, I've been a long time lurker. I have a lab assignment which is: > Write an application where you ask the user to input the price per letter (PPL), and then ask the user to input the sentence they want printed. The …

Member Avatar for deceptikon
0
320
Member Avatar for Franze

Hi, I have a backgroundthread where I in this moment is using: while (runsomeCode == false) { Thread.Sleep(1); } to wait for "runsomeCode" will turn to: 'true' from another thread, which is button9_Click in this example. However, using Thread.Sleep(1) doesn´t seem to be a very effective way. I wonder if …

Member Avatar for Ketsuekiame
0
12K
Member Avatar for noufza

hey there, i need help solvings my lab assignment in chapter 5: control structure II (repetition) 1. write a program that: a. prompt the user to enter an integer number x greater than 1. b. use a flag-controlled while loop to check whether the entered number x is prime or …

Member Avatar for noufza
-1
217
Member Avatar for nitin1

Declare an array of function pointers that return a pointer to a func that in turn return a pointer to a char array. can you helpme in this . i have doubt in the last thing. if at the last it is "return a pointer to char", then i can …

Member Avatar for Unimportant
0
102
Member Avatar for Ghufran Ahmad

I want to open any website using me c++ program. But don't know ho it will be done, please help me.

Member Avatar for rubberman
0
95
Member Avatar for Siberian

I hope this is the correct area for this post, I'm not to sure where it would fall into, regarding SSH ? Onto my question, is there a method to access Vi or Nano to find the exact path where a directory lies in the <root> directory ?

Member Avatar for JeoSaurus
0
112
Member Avatar for a.arjunvasan

I am getting the following error on my home page. I am new to php code and this one is looking pathetic on my wordpress site. any help would be highly appreciated. The error is as below: Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given on line 39 …

Member Avatar for a.arjunvasan
0
395
Member Avatar for n.cramp

Ive actually managed to get DirectX 9 working with Direct X, however i am now getting odd error messages around a function. I can't see any syntax issues myself but thought i'd check to see if anyone can shed any light on it. `g_pd3dDevice->CreateVertexBuffer( 3 * sizeof(CUSTOMVERTEX) , 0, D3DFVF_CUSTOMVERTEX, …

Member Avatar for n.cramp
0
301
Member Avatar for Franze

Hi, I have 2 different applications(Application 1 and Application 2) that have a critical area of code where only 1 application can be a time. The solution I have come up with is to use a lockfile so the application knows about when the other application is in the critical …

Member Avatar for Ketsuekiame
0
3K
Member Avatar for oliverven.quilnet

i installed alchemyAPI with python 2.7 on the desktop and it runs perfectly but when i saved the file to a live server whenever i try running the example files on aclemy i got the error. "Syntax Error near unexpected token `('" I checked the syntax python syntax and its …

Member Avatar for Unimportant
0
458
Member Avatar for ram619

Hello, This code is from "Test Your C Skills" Book. In the book they have mentioned that this code won't work, and thats true. But I am not able to understand, why its not working. Please explain why it gives error. #include<stdio.h> #define SWAP(a,b,c) c t;t=a;a=b;b=t; int main() { float …

Member Avatar for ram619
0
178
Member Avatar for sudipta.mml

Hi All, I have a problem to extract data from a text file. My file looks like *KEYWORD 10. 30. 50. 40. 50. 60. 0. 15. 25. llllllll KEYWORD 11. 31. 50. 40. 51. 60. 0. 15. 26. llllllll* My aim is to extract second datapoint by using first keyword. …

Member Avatar for Unimportant
0
97
Member Avatar for Priti_P

I have a directory called 25 and I want to print the list of files in that directory using PHP. How can I ?

Member Avatar for Priti_P
0
343
Member Avatar for rudasi

I have 2 processes (producer and consumer) sharing an int deque in shared memory, I have the producer process put 2 numbers in the deque and then it gets in a wait state losing its mutex lock. I then have the consumer process removing the numbers and printing them. It …

Member Avatar for rudasi
0
513
Member Avatar for حسنين_1

PLEASE TELL ME A THREE DIMENSIONAL ARRAY WITH EXAMPLE . WRITE COMMENT ALSO

Member Avatar for Unimportant
-1
99
Member Avatar for zahidhcy
Member Avatar for faysal.ishtiaq_1

/* ############ Project Name : TIC TAC TOE ############ CODED BY ############ > Faysal Ishtiaq Rabby ############ ~ Student ID : 120909 ############ Khulna University, Bangladesh. */ #include "stdafx.h" #include<stdlib.h> int main() /* Declaring Variables */ char gamestart; char pos_input[]={'1','2','3','4','5','6','7','8','9'}; int gameloop, option_position,input,flag=0,player_number,rand_int,i; /* Variable Declaration Finished*/ printf("Press \"ENTER\" to …

Member Avatar for Unimportant
-1
367
Member Avatar for Lp_baez

I keep getting this error on a sample that a c++ book provides. " **error C2660: 'std::vector<_Ty>::empty' : function does not take 1 arguments 1> with 1> [ 1> _Ty=std::string 1> ** ] " I have some suspicious what can be causing the error but I am not sure. the …

Member Avatar for Unimportant
0
292
Member Avatar for KingGold171

Hello fellow PHP trained monkeys :D I am trying to find a way to have a basic CMS management system but to be dynmic on one PHP page only, the most part works for the first time of selecting the username, and then from either add or minus buton. The …

Member Avatar for diafol
0
306
Member Avatar for Lp_baez

Hi everybody, I’m having trouble trying to figure out how to create a loop when the ‘difficulty’ takes a value that is not an integer. I want a player to get the ‘default’ statement presented in the switch . The ‘default’ statement seems to make an appearance but it will …

Member Avatar for David W
0
2K
Member Avatar for thearts.beach

<?php $mysqli = mysqli_init(); $mysqli->real_connect("mysq.x.com","me","wordup","inthekitchin"); if ($mysqli->connect_errno) { echo "Failed to connect to MySQL: (" . $mysqli->connect_errno . ") " . $mysqli->connect_error; } $res = $mysqli->query("UPDATE plate1 SET potatoes =('$_POST[potatoes]') WHERE id =('$_POST[id]')"); $row = $res->fetch_assoc(); ?> returnes error `Fatal error: Call to a member function fetch_assoc() on a non-object …

Member Avatar for thearts.beach
0
202