🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c++.leda
Article #174

Re: Modifying int value in v->data[0] in GRAPH

#174
From: Stefan Naeher
Date: Mon, 12 Feb 1996 08:19
19 lines
960 bytes
In article <DMI23K.4Io@beaver.cs.washington.edu> soha@cs.washington.edu (Soha Hassoun) writes:
>
>I have a GRAPH<my_node_info, my_edge_info> G.  After I finish
>constructing the graph G, I would like to change the value of an
>integer K that is a member of the class my_node_info.
>Is there support for doing this?
>


GRAPH<my_node_info,my_edge_info> G;
...
G[v].K = 17;


--


-------------------------------------------------------------------------------
Stefan N"aher                                      e-mail: stefan@mpi-sb.mpg.de
Technical Details
Message-ID: <4fmt6u$56e@coli-gate.coli.uni-sb.de>
Path: arc1-ca.pugleaf.net!news.coli.uni-sb.de!stefan
References: <DMI23K.4Io@beaver.cs.washington.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!news.coli.uni-sb.de!stefan
From: stefan@mpi-sb.mpg.de (Stefan Naeher)
Newsgroups: comp.lang.c++.leda
Subject: Re: Modifying int value in v->data[0] in GRAPH
Date: 12 Feb 1996 08:19:42 GMT
Organization: MPI Informatik
Message-ID: <4fmt6u$56e@coli-gate.coli.uni-sb.de>
References: <DMI23K.4Io@beaver.cs.washington.edu>
NNTP-Posting-Host: robin.ag1.mpi-sb.mpg.de
Keywords: GRAPH data[0]