Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
30% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
2
Posts with Downvotes
1
Downvoting Members
2
0 Endorsements
~2K People Reached
Favorite Tags
Member Avatar for dan1992

How to make this program #include <stdio.h> #include <conio.h> #include <math.h> int main(){ clrscr(); for(i=0;i<10;i++) for(j=0;j<10;j++) printf("a[%d][%d] = %d \n",i,j,a[i][j]); printf("cu pointer\n"); for(i=0;i<10;i++) for(j=0;j<10;j++) printf("a[%d][%d] = %d \n",i,j,*(p+i)); getch(); } int a[4][4],b4[3][3],b1[3][3],b2[3][3],b3[3][3],n,c1,c2,c3,c4,i,j; printf("\nIntroduceti elementele Matricei cu 4 linii si 4 coloane: \n"); int *mat; n=4; for (i=0; i<n; i++){ for …

Member Avatar for dan1992
0
167
Member Avatar for dan1992

[CODE]#include <stdio.h> #include <conio.h> #include <math.h> // +-*/ void readArray(int *a, int n) //fuctie care citeste un tablou { for(int i=0; i<n; i++) { printf("A[%i]=",i); scanf("%i",&a[i]); } } void printArray(int *a, int n) { for(int i=0; i<n; i++) { printf("%i ",a[i]); } } void patratPerfect(int *a,int n) { for(int i=0; …

Member Avatar for Stazloz
0
79
Member Avatar for dan1992

This program must calculate permutations but it gives me a result with smiley , Can someone help me, Thanks!! [CODE]#include <conio.h> #include <stdio.h> #include <math.h> const n = 10,num=4; int i,a[n]; void tipareste(){ int i; for(i=0;i<num;i++) { printf(" %d \n", a[i]); } } void permuta(int k) { int i,x; if(k==1) …

Member Avatar for dan1992
0
131
Member Avatar for dan1992

i have [CODE]program p1032; const n=10; num=4; var i:integer; a:array[1..n] of 1..n; procedure tipareste; var i:integer; begin for i:=1 to num do write(a[i],' '); writeln; end; procedure permuta(k:integer); var i,x:integer; begin if k=1 then tipareste else begin for i:=1 to k do begin x:=a[i];a[i]:=a[k];a[k]:=x; permuta(k-1); x:=a[i];a[i]:=a[k];a[k]:=x; end; end; end; begin …

Member Avatar for hkdani
0
99
Member Avatar for dan1992

I have a code for adding information on the site post page [CODE]<?php if (isset($_POST['photo'])) {$photo = $_POST['photo']; if ($photo == ''){unset($photo);}} if (isset($_POST['id_photo'])) {$id_photo = $_POST['id_photo']; if ($id_photo == ''){unset($id_photo);}} $cat = $_GET['cat'];?> <script type="text/javascript"> function MM_jumpMenu(targ,selObj,restore){ //v3.0 eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'"); if (restore) selObj.selectedIndex=0; } </script> <script src='style/jquery.js' type="text/javascript"></script> <script src='style/documentation.js' …

Member Avatar for madCoder
0
93
Member Avatar for dan1992

i have a code [B] Index.php[/B] [CODE]<script src='jquery.js' type="text/javascript"></script> <script src='documentation.js' type="text/javascript"></script> <link href='documentation.css' type="text/css" rel="stylesheet"/> <script src='jquery.form.js' type="text/javascript" language="javascript"></script> <script src='jquery.MetaData.js' type="text/javascript" language="javascript"></script> <script src='jquery.MultiFile.js' type="text/javascript" language="javascript"></script> <script src='jquery.blockUI.js' type="text/javascript" language="javascript"></script> <script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script> <script type="text/javascript"><!-- google_ad_client = "pub-9465008056978568"; google_ad_slot = "4176621808"; google_ad_width = 120; google_ad_height = 600; //--> …

Member Avatar for dan1992
0
140
Member Avatar for dan1992

How can I make a timer that counts down from 60 seconds and after that directs me to another page Please help me Thank you ! :)

Member Avatar for R0bb0b
0
64
Member Avatar for dan1992

How can I solve this [url]http://1soft.moy.su/Untitled.png[/url] in Turbo Pascal thx :)

0
68
Member Avatar for dan1992

can i make the radically operation in php if yes , please tel me if no thx 4 attention :D

Member Avatar for dan1992
-1
99
Member Avatar for dan1992

How can using this code[CODE] string sorece = folderBrowserDialog1.SelectedPath; string target = folderBrowserDialog2.SelectedPath; string sourceFile = System.IO.Path.GetFullPath(sorece); string targetPath = System.IO.Path.GetFullPath(target); System.IO.Directory.Move(sourceFile, targetPath);[/CODE] i can move Folders ? please help

Member Avatar for Geekitygeek
0
107
Member Avatar for dan1992

help please [CODE]<?php $name = $_FILES["sound"]["name"]; $type = $_FILES["sound"]["type"]; $size = $_FILES["sound"]["size"]; $temp = $_FILES["sound"]["tmp_name"]; $error = $_FILES["photo"]["error"]; $random_digit=rand(0000000,9999999); $new_file_name=$random_digit.$name; if ($error > 0 ) $die_1 = die("Error uploading file! Code $error."); else { move_uploaded_file($temp,$new_file_name); } } ?>[/CODE]

Member Avatar for rajarajan2017
0
72
Member Avatar for dan1992
0
48
Member Avatar for dan1992

how ca i make a php function to delet a photo this is the file theat show photos .... [CODE] <?php $dir="../SV_uplod/"; if($opendir = opendir($dir)) { while(($file = readdir($opendir)) !==FALSE) { if($file!="."&&$file!="..") echo "<img src='$dir$file' width='200'><br>",$dir,$file; } } ?>[/CODE] Please Help THX !

Member Avatar for shubhamjain1
0
141
Member Avatar for dan1992

1 guy's way i can not execute like this ? [CODE] <?php echo exec('SV/546463748.png'); $url="member.php"; $timeout_minutes = 0; $timeout_seconds = 1; sleep($timeout_seconds + $timeout_minutes * 60); header ('Location: '.$url); exit; ?>[/CODE] but if is like this the script worcks [CODE] <?php echo exec('546463748.png'); $url="member.php"; $timeout_minutes = 0; $timeout_seconds = 1; …

Member Avatar for dan1992
0
77
Member Avatar for dan1992

i have done a login form but its giving error :9 can somwan help me[B] index.php[/B] [CODE]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1250"> <title>Login Panel</title> </head> <body> <form action="login.php" method="POST"> Username : <input type="text" name="username" > Password : <input type="text" name="password" > <input …

Member Avatar for dan1992
0
168
Member Avatar for dan1992

How can I do in such a way that when someone enters on Web,automatically from the database is shown his name taking information from IP desc if he is register [CODE] <?php $ip_demo = getenv("REMOTE_ADDR"); include"sec/db.php"; $result = mysql_query("SELECT * FROM blog_name"); while($row = mysql_fetch_array($result)) { $name_demo = $row["name_demo"]; $ip …

Member Avatar for Graphix
0
83
Member Avatar for dan1992

Can Someone Tell Me how to make a auto posting form . I need theat form for automatic pots ip on sql db, Please Help Thx.

Member Avatar for scaiferw
0
76
Member Avatar for dan1992

Wat i need to choose in sql db tabel "Collation" to make posible to read russian letters please help THX

Member Avatar for colweb
0
139
Member Avatar for dan1992

i have 3 diferent data base in 3 diferent languages, i need a script or a php cod theat take's the information form them exempl : menu romanian "Pagiana principala | Informatie" rusian "Главная | Информация " Englesh "Home | Information " img exeple [url]http://img88.imageshack.us/img88/3954/lang.png[/url] please help im new in …

Member Avatar for dan1992
0
73
Member Avatar for dan1992

can some wan say me , a script or a php code to make the website to have more language thx :D

Member Avatar for dan1992
0
85
Member Avatar for dan1992

wats roang in here .. [LIST=1] [*]<?php [*]ini_set('display_errors', 1); [*]//connecting to database [*]$error = "nu am putut sa ma conectez :("; [*]mysql_connect('localhost','root','')or die ($error); [*]mysql_select_db('dan') or die ($error); [*]//max display pet page [*]$per_page = 2; [*]//get start variabel [*]$start = $_GET['start'] ; [*]//cont record [*]$record_count = mysql_num_rows( mysql_query("SELECT *FROM news")); …

Member Avatar for dan1992
0
170
Member Avatar for dan1992

it say theat he error is in line 16 i dont no wat error is :( plea help [CODE]<?php if($_POST['post']) { //gat data $title = $_POST['title']; $body = $_POST['body']; //chec fot existance if ($title&&$body) { mysql_connect("localhost","root","")or die(mysql_error()); mysql_select_db("dan")or die (mysql_error()); $date = date ("Y-m-d") //adaugarea inoutati $insert = mysql_query("INSERT INTO …

Member Avatar for Froger93
0
81