• geniusyasee
  • Junior Member
  • Posts 12
  • Reputation 2
  • Member Since
  • Last Active
All Posts Topics Started Likes
structure Assignment work
it could be like void insert(struct product pro[],int size) so when u call this function u tell how many products this array can store then u can access this array in ur function
0 0
structure Assignment work
hi, sorry for late reply, i am not feeling good due to some sickness,,, ok what i think the problem is when you pass the array to function then u have to pass the number of indexes it is going to hold along side it, ofcourse array is already defined then u need to pass the size to it and it is the same with structure array. u can not access an array with unlimmited memoray locations, as it continuous memory location reserved so u need to tell how many,, and when u pass array it is pass by ref automatically, so u have to tell. thats what my first observation, secondly i really dont know what kind of error it is generating for u,,, just attach the code file then i will look into it

regards
yasir
0 0
ip subnetting
u r welcome
0 0
ip subnetting
to make 5 networks how many bits do u need from host part of your ip, lets calculate it this way
192.168.10.0 is ur ip and its bits are 11000000.10101000.00001010.00000000 its mean i cannot borrow from the first 24 bits i can only borrow from the last 8 bits, so if ur requirement is 5 networks, how many bits do u need, the formula is 2^n here n means number of bits,, to make 5 u need 3bits 2^3=8 coz u cant make 5 subnets, if u reserverd 3 bits in the last octeted then ur ip should look ike this
11000000.10101000.00001010.11100000 how mnay bits do uhave for hosts 5 right, so how many hosts do u have in one subnet again 2^n-1 coz last address will be used as broadcast address so 2^5-1=31 hosts per subnet. according to yuor requirement it is not possible,, coz we are wasting 2 networks and 32 hosts in each network, even if we make it 4 networks still we will have 64 host in each network u can achieve it only with 2 networks and more hosts arround 128. i hope you got the answer with understanding

regards
yasir



1 0
Does congestion occurs in LAN's,,,, Any body answer it ????
Does congestion occurs in LAN's,,,, Any body answer it ????

please answer it, yes or no,, if no then why not ????
0 0
ping resuts
iit might be ,if you have not configured ur network properly,, i mean  2 host have the same ip possibly traffic divided between the two, u got one response and on loss,, but it could be because of congestion and there are many types of congestion. or it could be because of configuration in the firewall or network configuration.. but from looking this ping result i can not gurantee what causes this kind of behavior.

regards
0 0
Subnetting
wwa alikum salam,
 
the two ways to represent subnetmask are confusing if you dont have understanding of ip range classes and classical way of making subnets and vlsm, and u should be very clear why we make subnets ok , the one you mentioned to represent subnet 
255.255.255.224 is for those kind of protocols that requires subnetmask for a particuilar class of ip to route the trafic we call them classful routing like RIPv1 and IGRP but the other one 193.68.50.0/27 is called cidr notation and uses vlsm(variable length subnetting) and is used when we can break any ip into any subnet without the boundaries of classes and we use /notation to represent vlsm and we use it in calassless routing there r protocol that supports classless routing ripv2, eigrp, ospf and isis and we call it cidr(classless inter domain routing) notation and it uses vlsm( variable length subnetting).

i hope u got the answer
0 0
Php Information
hi,
there are multiple options to pick data, via scripts like javascript, php, jquery,, etc etc, or u can set the type like in html5 <input type="date" /> or like
Script:
 
$(function(){
    $("#datepicker").datepicker();});
HTML:
 
<inputtype="text"id="datepicker"/>

u can use get opr post method of form to retrieve the values in textbox into php variables and add them in 3rd variable and set it back to textfield you desire.

i hope you got your answer
regards
yasir
 
 
0 0
Welcome to C++
@hussain
  for example appka html code agar aisa hay

<html>
<head>
<title>Generate tabel</title>
</head>
<body bgcolor="black"text="white"> <form method="post" action="table.php" <strong>Enter No:</strong>
<input type="text"name="num"size="10">
<input type="submit"value="Get Table">
</form></body></html>
then apka php code aisaa ho gaa

<?php
$num
= $_POST['num'];
if($num)
{
for($i=1; $i<=10; $i++){ $mul = $num * $i; echo "$num * $i = $mul<br>";
}
}
else{ echo "Invalid Entry!";
}
?>

i hope you will get the desired output

regards
 
0 0
Welcome to C++
Post your question related to general programming and in particular to c++ here i will try to answer them. regards

0 0
needed some help on CISSP
hi, you can read about it here
https://www.isc2.org/cissp-how-to-certify.aspx


regards

 
1 0
live streaming [Server] need help
what do u  mean by linux based,, u mean the webserver or the streaming server ????
0 0
count post selected

Add a Website Forum to your website.