Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~21.9K People Reached
Member Avatar for learner guy

I want to find if Array B is present in array A(B is a substring of A).. i have written this small function but its not working as desired ..can anybody plz help and point out where i m wrong [CODE] bool substring(char A[],char B[]) { int aSize=strlen(A); int bSize=strlen(B); …

Member Avatar for Ali_2101
0
346
Member Avatar for learner guy

Hi i am learning xml , in a very simple code i got an error saying [B]"Uncaught TypeError: Cannot call method 'getElementsByTagName' of null"[/B] i am getting this in all browsers ,i have tried to look for solution on google but could not find ,Plz help [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD …

Member Avatar for Troy III
0
1K
Member Avatar for Transcendent

How do you create box with like this with things in inside the boxes? [URL="http://oi43.tinypic.com/18nllk.jpg"]http://oi43.tinypic.com/18nllk.jpg[/URL]

Member Avatar for jorik
0
112
Member Avatar for learner guy

[CODE] function displayResult() { var damn = document.getElementById("textyar").value; document.getElementById("oneforty").innerHTML = damn; var newDIV = document.createElement('div'); newDIV.className = "tweets"; var newspan =document.createElement('span'); newspan.className = "imagespanleft"; var img = document.createElement("IMG"); img.className="image"; img.src = "tweets/me.jpg"; newDIV.innerHTML = document.getElementById('textyar').value; document.getElementById('leftmaindiv').appendChild(newDIV).appendChild(newspan).appendChild(img); } [/CODE] this is the code , i m trying to create an interface …

Member Avatar for learner guy
0
1K
Member Avatar for learner guy

i want to assign content of textarea to a div .. like in twitter when you type something and press "Tweet" a div is created and has the content of textarea.. how can i implement it , i know something about getElementById() but not sure how it can help me …

Member Avatar for niranga
0
134
Member Avatar for reco21

I was wondering, I want to change other elements that are inside of a main div when one hovers. [CODE]<div id="post"> <h1>The Title</h1> <p class="text">Text</p> <p class="other-text">Text</p> </div>[/CODE] So if one hovers over the "post" div then the the "#post h1" title would change from black to blue.. If it's …

Member Avatar for bhartman21
0
157
Member Avatar for learner guy

i want to assign content of one div to another div ..lets say div 1 to div 2 just like in twitter when you type something and press "Tweet" a div is created and has the content of textbox .. how can i implement in php

Member Avatar for EvolutionFallen
0
72
Member Avatar for learner guy

well i have made a .txt file (for save /reload blah blah ..) ..i want it blank before program runs ..how can i do it - or is there any way i can create a new file every time overwriting the existing file

Member Avatar for Dman01
0
13K
Member Avatar for learner guy

hello everyone, i am trying to implement save,load and replay in my chess game made in c++ console. i am done with save and load but stuck on replay. i want every turn to be stored in file and when player asks to replay it should show all turns in …

Member Avatar for Schol-R-LEA
0
235
Member Avatar for learner guy

Hi ,help needed in bishop movement c++..the code is woking fine giving desired output most of time but there is one thing unintentional happening in the algorithm.. to understand the problem plz see the diagram (ignore the 'oo' and 'o' and consider them double and single spaces respectively, they are …

Member Avatar for Schol-R-LEA
0
2K
Member Avatar for learner guy

hi i am making my rook move with the help of validRook() and rookMove() functions.. i have placed validRook inside rookMove so that it is only executed when validRook return s true.. plz see if my validRook algorithm is correct(Note: this is phase 1 of my game and i just …

Member Avatar for Schol-R-LEA
0
2K
Member Avatar for learner guy

Hi newbie there,this is code for chess game(just started) ,i want to convert the input in characters to integers via getMove function i have tried to made but its not working.. output is "invalid input" every time [CODE]#include <iostream> using namespace std; void printBoard(char board[][8],int row,int col); void getMove(int arr[],char …

Member Avatar for learner guy
0
190
Member Avatar for learner guy

hi i am a newbie at c++.. this is code of game am wondering why the text is blinking ? [CODE]/ /* Include section */ #define WIN32_LEAN_AND_MEAN #include <iostream> #include <windows.h> #include <cstdlib> #include <time.h> /* Using Statements*/ using std::cout; using std::endl; /* Constants */ #define X 20 #define Y …

Member Avatar for MandrewP
0
327
Member Avatar for learner guy

hi can anyone help me in making this code work ..i will be very grateful to him/her [CODE]#include <iostream> #include <stdio.h> #include <conio.h> #include <windows.h> using namespace std; #define BLACK 0 #define BLUE 1 #define GREEN 2 #define CYAN 3 #define RED 4 #define MAGENTA 5 #define BROWN 6 #define …

Member Avatar for WaltP
0
376
Member Avatar for learner guy

hi i have two problems in c++ console application 1. I want a function to execute when a certain key is pressed .kbhit() is for any key but i want to modify it to a specific key ..plz tell me about it also if any other function can do this …

Member Avatar for Narue
0
1K