Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
2
Posts with Downvotes
2
Downvoting Members
1
0 Endorsements
~6K People Reached
About Me

student

Favorite Tags
Member Avatar for newbiecoder

Hi , I have table created by Json : function show(json) { var content = '<tbody>'; var counter; for(counter = 0; counter < json.length; counter++) { content += '<tr><td>' + json[counter]['id'] + '</td>' + '<td>' + json[counter]['time'] + '<td>' + json[counter]['fullname'] + '</td>' + '<td>' + json[counter]['message'] +'</td>' +'<td>' + …

Member Avatar for radhakrishna.p
0
998
Member Avatar for newbiecoder

Hello, I am working on bridge and torch problem. I wanted to be sure if I'm doing solving the problem correctly with 5 and 6 people. I'll be glad if you tell me if I'm doing right or wrong. With 5 people, let's consider we have 5 people with following …

Member Avatar for Taywin
0
123
Member Avatar for newbiecoder

Hello everyone, I'm coming up with a very primitive question: I need to take two numbers from console and process them. Since I'm getting input from console with Console.Readline(), how can I seperate those numbers from the string? Thanks in advance..

Member Avatar for newbiecoder
0
140
Member Avatar for newbiecoder

Here is another simple question (I'm asking them because I couldn't find a way by myself): Suppose I have a string [CODE]x = "Daniweb"[/CODE] When I try to update an element like : [CODE]x[3] = k[/CODE] The Visual Studio says it is read only and gives error. How can I …

Member Avatar for newbiecoder
0
98
Member Avatar for newbiecoder

Hello, I am currently designing a website with Flash and I am curious about its usability on mobile devices, especially mobile phones. My second question is if I make an HTML website and it has a Flash video, can it be seen on mobile phones? Thanks a lot!

Member Avatar for vishalbandre
0
114
Member Avatar for newbiecoder

Hello, I am a university student and I have very few courses this term so I have a lot of free time. In this term I want to improve myself and gain experience on C++ with algorithms and data structures. But I don't know how to do that... I have …

Member Avatar for awie10007
0
262
Member Avatar for newbiecoder

Hello I tried to make a contact form for my Flash website but when I upload it to my server it just doesn't work. Can you tell me what is wrong with my codes or doesn't it work because of a server-side problem? Here is my Actionscript code on Flash: …

Member Avatar for newbiecoder
0
272
Member Avatar for newbiecoder

Hello I am trying a code from a book, When I run it at local host and enter a number on the box I get this error : Have requested is not allowed to access the directory. Directory, or to read protected, or can not be read by the server. …

Member Avatar for happytogether
0
111
Member Avatar for newbiecoder

Hello I am trying to write a form that checks user mail address by existence of "@" character. I wrote these codes below but when I enter information at the html file I get this warning: Notice: Use of undefined constant mail - assumed 'mail' in C:\xampp\test\send_simpleform.php on line 2 …

Member Avatar for newbiecoder
0
142
Member Avatar for newbiecoder

Hello I asked a similar question a few posts before but not the same, so I started this thread. I am trying to add a user to MySql which I installed via XAMPP. I found this command: [CODE]CREATE USER 'root'@'localhost' IDENTIFIED BY 'mysqlpass';[/CODE] But I don't know where to put …

Member Avatar for pixelsoul
-1
198
Member Avatar for newbiecoder

Hello I installed MYSQL and Apache via XAMPP. And I am trying some codes from a textbook while Apace and MYSQL are running. I am trying to connect MYSQL with this code :[CODE]<?php //connect to MySQL; note we’ve used our own parameters- you should use //your own for hostname, user, …

Member Avatar for diafol
0
201
Member Avatar for newbiecoder

Hello everyone, I got an error from the code which I am copy-pasting from a textbook. Could you please tell me what I am doing wrong? Here are the codes: login.php: [CODE]<?php session_unset(); ?> <html> <head> <title>Please Log In</title> </head> <body> <form method"post" action="http://localhost/movie1.php"> <p>Enter your username: <input type="text" name="user"> …

Member Avatar for newbiecoder
0
190
Member Avatar for newbiecoder

Hello, I just installed XAMPP to a Windows 7 computer and I am trying to learn some PHP. I go to C:/xampp/htdocs and create a file named [B]phptest.php[/B]. And I write inside this code : [CODE]<HTML> <HEAD> <TITLE>PHP Testing</TITLE> </HEAD> <BODY> <?php echo “If this works, we <i>really</i> did it!”; …

Member Avatar for newbiecoder
0
172
Member Avatar for newbiecoder

Hello, as I learned conio.h header file is used in Windows not Linux, I found two things from the Internet 1. Linux c++ implementation of conio.h [URL="http://sourceforge.net/projects/linux-conioh/"]http://sourceforge.net/projects/linux-conioh/[/URL] 2. libconio [URL="http://sourceforge.net/projects/libconio/"]http://sourceforge.net/projects/libconio/[/URL] What should I do to use them? I am not very familiar with C++ and I couldn't find out myself.. …

Member Avatar for jonsca
0
168
Member Avatar for newbiecoder

hello I have a piece of code starting like that: [CODE] #include <iostream> #include <conio.h> #include <stdlib.h>[/CODE] When I have try to compile this with g++ with a command as:[B] g++ new.cpp[/B] I get this error: new.cpp:2: fatal error: conio.h: No such file or directory I couldn't find where is …

Member Avatar for skorm909
0
111
Member Avatar for newbiecoder

I took these codes from Deitel's book directly, I tried them at both Linux gcc and Codeblocks on Windows and they both gave errors. Can you tell me why I am getting these errors? Am I doing a mistake by compiling them? Here is the code: new.cpp: [CODE] #include <iostream> …

Member Avatar for newbiecoder
0
158
Member Avatar for newbiecoder

Hello I'm trying to get a random float number between two float numbers using rand() function but I couldn't write it by myself, can you show me how to do it? Thanks...

Member Avatar for arkoenig
0
421
Member Avatar for newbiecoder

Hello I want to have a code which gives a random value faster than a value per second. Here is my code: [CODE]#include <stdio.h> #include <stdlib.h> #include <time.h> int main() { int x; srand(time(NULL)); x = rand()%100 +1; printf("%d", x); return 0; } [/CODE] Can you please tell me how …

Member Avatar for newbiecoder
0
122
Member Avatar for newbiecoder

Hello when Im trying to learn strncpy function, I copied a part of string to another char array, but it gave me different results when I used puts and printf functions. Can anyone tell me why such difference occurs? I guess its about the last terminating NULL character, but Im …

Member Avatar for newbiecoder
0
659
Member Avatar for newbiecoder

I want my code to take two characters and print them, but this code only takes one character, prints it and terminates, can you please tell me what's wrong with it? Thank you. [code=syntax] #include <stdio.h> int main() { char a, b; scanf("%c", &a); scanf("%c", &b); printf("%c %c\n", a,b); return …

Member Avatar for newbiecoder
0
251
Member Avatar for leviathan185

Hi All, I have been a member for a few days now and thought i'd better introduce myself. I am from Australia ...[ Yes the internet is slow here. ]... and I am just getting into programming. I have chosen my first language I want to learn is PHP. I …

Member Avatar for vietnamvisa
0
164
Member Avatar for newbiecoder

Hi, I want to write a code which takes an array of 20 characters and deletes all spaces between characters, it should leave only letters. For example: input :[B] d a n i w e b[/B] I want to make it :[B] daniweb[/B] I wrote this code, but it didn't …

Member Avatar for ArkM
0
114
Member Avatar for newbiecoder

Hi all, I decided to learn PHP, I am an Ubuntu user, I installed, php5, mysql, apache2.2 and phpmyadmin. But I don't know where to put the files to see them on my web browser, when I write [CODE]http://localhost/phpMyAdmin/[/CODE] I get [CODE]Not Found The requested URL /phpMyAdmin/ was not found …

Member Avatar for Tulsa
0
119
Member Avatar for newbiecoder

Hi my name's Bahadir. I am from Turkey. I'm computer engineering student at first year. We learn C this term and our instructors do force a lot to learn C (by homeworks and exams :) ) I found this website by searching for a solution of a problem like most …

Member Avatar for debasisdas
0
73
Member Avatar for newbiecoder

Hi I want to write a program which reads a hexadecimal number and returns an decimal number. I wrote that code(inspired by some code pieces from web): [CODE]#include <stdio.h> int main() { int hexa; scanf("%x", &hexa); printf("%d", hexa); return 0; } [/CODE] but it does't give the answer I want …

Member Avatar for WaltP
0
101
Member Avatar for newbiecoder

Hi, I am expected to use sscanf function in a program, but I couldn't understand how it works. Can you explain it with an easy example? Thanks -- newbiecoder

Member Avatar for newbiecoder
0
147